igb: resolve warning of unused adapter struct
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 13 Mar 2009 20:40:58 +0000 (20:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2009 19:41:02 +0000 (12:41 -0700)
commitbd38e5d124ddd11c457c5ae7242cd039045d80e0
treea234cdc42451fa0a861ccc7e1306bda773b7f38b
parent5e6d5b17db099dd575490545a4f0af9a99fa8bbe
igb: resolve warning of unused adapter struct

If DCA is undefined then the adapter struct becomes unnecessary.  To
resolve this issue the DCA calls can simply make a call to the adapter
struct through the rx_ring adapter struct member.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@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_main.c
This page took 0.031753 seconds and 5 git commands to generate.