summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_tunnel.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2010-10-18 12:14:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 15:23:35 -0700
commitd618222352ac95ff9a21f1fc1018fffeb8952194 (patch)
treecb74db8147dd3ac717e0ebd89fc042806391a1eb /net/ipv6/ip6_tunnel.c
parent38df7a39492d52f4fad484f611f01a01bd8f1e41 (diff)
pktgen: clean up handling of local/transient counter vars
The temporary variable "i" is needlessly initialized to zero in two distinct cases in this file: 1) where it is set to zero and then used as an argument in an addition before being assigned a non-zero value. 2) where it is only used in a standard/typical loop counter For (1), simply delete assignment to zero and usages while still zero; for (2) simply make the loop start at zero as per standard practice as seen everywhere else in the same file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions