summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2010-02-17 02:00:41 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-17 22:21:31 +0100
commit26b39276ca5ff4dbf3c07704e34fd820fd97decf (patch)
tree5233028d2dda0553d9d83310b02b001a35aac098 /drivers/net/igb/igb.h
parentipv6.h: reassembly: replace calculated magic number with multiplication (diff)
downloadlinux-26b39276ca5ff4dbf3c07704e34fd820fd97decf.tar.xz
linux-26b39276ca5ff4dbf3c07704e34fd820fd97decf.zip
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>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 83ea11701f45..0efd28515e6e 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -176,7 +176,6 @@ struct igb_q_vector {
u16 itr_val;
u8 set_itr;
- u8 itr_shift;
void __iomem *itr_register;
char name[IFNAMSIZ + 9];