]> git.baikalelectronics.ru Git - kernel.git/commit
igb: remove unecessary q_vector declarations and remove itr_shift
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Feb 2010 01:00:41 +0000 (01:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:21:31 +0000 (13:21 -0800)
commitd7b3791d44c648c514670b228a6380d1dfd038b4
tree5233028d2dda0553d9d83310b02b001a35aac098
parent10740ce4de5ef6a35519a13fa076cdbbab8699a0
igb: remove unecessary q_vector declarations and remove itr_shift

This change removes the use of itr_shift since a mac type call can be
used just as easily to identify the only HW that needs to have the itr
shifted.

In addition it removes two unecessary declarations of a q_vector
pointer from the initialization path.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c