]> bbs.cooldavid.org Git - net-next-2.6.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)
commit26b39276ca5ff4dbf3c07704e34fd820fd97decf
tree5233028d2dda0553d9d83310b02b001a35aac098
parent9874c41cd5e70bfc97bcd52a8b6c98c2a6ba7299
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