netdev_alloc_pcpu_stats: use less common iterator variable
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 Apr 2015 10:06:30 +0000 (12:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2015 15:38:14 +0000 (11:38 -0400)
commitec65aafb9e3f316ff9167289e288856a7d528773
tree6cbd780b138adf04c0da03e811d937e6a54f5720
parent608404290e2d9d1756db4013c4ee12fa7617dad9
netdev_alloc_pcpu_stats: use less common iterator variable

With the CPU iteration variable called 'i', it's relatively easy
to have variable shadowing which sparse will warn about. Avoid
that by renaming the variable to __cpu which is less likely to
be used in the surrounding context.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h