]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: cleanup unclear references to reg_idx
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Nov 2010 03:27:07 +0000 (19:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:27:07 +0000 (19:27 -0800)
commit5fa46a5dc141fed34f204174b583bf2f05767a32
treea453bd2001ad464f82c86d159ef83975b0089897
parent6202b8aab437e2d220c804223bf1b59a54588533
ixgbe: cleanup unclear references to reg_idx

There are a number of places where we use the variable j to contain the
register index of the ring.  Instead of using such a non-descriptive
variable name it is better that we name it reg_idx so that it is clear what
the variable contains.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c