summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2010-02-17 01:00:41 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-17 13:21:31 -0800
commit26b39276ca5ff4dbf3c07704e34fd820fd97decf (patch)
tree5233028d2dda0553d9d83310b02b001a35aac098 /drivers/net/igb/igb.h
parent9874c41cd5e70bfc97bcd52a8b6c98c2a6ba7299 (diff)
downloadop-kernel-dev-26b39276ca5ff4dbf3c07704e34fd820fd97decf.zip
op-kernel-dev-26b39276ca5ff4dbf3c07704e34fd820fd97decf.tar.gz
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 83ea117..0efd285 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];
OpenPOWER on IntegriCloud