From: Paul Gortmaker Date: Mon, 18 Oct 2010 12:14:44 +0000 (+0000) Subject: pktgen: clean up handling of local/transient counter vars X-Git-Tag: v2.6.37-rc1~88^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d618222352ac95ff9a21f1fc1018fffeb8952194;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed