mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
igb: remove unneeded declaration shadowing earlier one
This removes a sparse warning. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9b71c5e070
commit
6d490a7e5b
1 changed files with 0 additions and 1 deletions
|
@ -438,7 +438,6 @@ static int igb_request_irq(struct igb_adapter *adapter)
|
||||||
if (adapter->msix_entries) {
|
if (adapter->msix_entries) {
|
||||||
err = igb_request_msix(adapter);
|
err = igb_request_msix(adapter);
|
||||||
if (!err) {
|
if (!err) {
|
||||||
struct e1000_hw *hw = &adapter->hw;
|
|
||||||
/* enable IAM, auto-mask,
|
/* enable IAM, auto-mask,
|
||||||
* DO NOT USE EIAME or IAME in legacy mode */
|
* DO NOT USE EIAME or IAME in legacy mode */
|
||||||
wr32(E1000_IAM, IMS_ENABLE_MASK);
|
wr32(E1000_IAM, IMS_ENABLE_MASK);
|
||||||
|
|
Loading…
Reference in a new issue