[Intel-wired-lan] [next PATCH 5/5] igb: Fix unused variable warning

Brown, Aaron F aaron.f.brown at intel.com
Fri Nov 20 04:50:12 UTC 2015


> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, October 27, 2015 5:00 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH 5/5] igb: Fix unused variable warning
> 
> I ran into an unused variable warning when building dev-queue.  It turns
> out that hw isn't used anymore when setting up the q_vectors since we
> switch from hw->hw_addr to adapter->io_addr in igb_request_irq.  As such
> the variable can be dropped.
> 
> Fixes: 0b3659ca297fc ("igb: improve handling of disconnected adapters")
> Signed-off-by: Alexander Duyck <aduyck at mirantis.com>
> ---
>  drivers/net/ethernet/intel/igb/igb_main.c |    1 -
>  1 file changed, 1 deletion(-)
> 

Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list