summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-01-07 22:10:15 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-08 00:35:27 -0800
commit581e8ae49ea3a70b438991e388ded2dcbdbd2162 (patch)
tree7fcf1acc5f67548f8cda89d535734c53c1128e1f /drivers/net/netxen/netxen_nic_main.c
parent011f4ea09768fdf6f95e3781cba2ed681a2ac710 (diff)
downloadop-kernel-dev-581e8ae49ea3a70b438991e388ded2dcbdbd2162.zip
op-kernel-dev-581e8ae49ea3a70b438991e388ded2dcbdbd2162.tar.gz
netxen: fix smatch warning
o Fix pointless assignments Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 880fcd06..9f9d608 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -340,7 +340,7 @@ netxen_check_hw_init(struct netxen_adapter *adapter, int first_boot)
if (!(first_boot & 0x4)) {
first_boot |= 0x4;
NXWR32(adapter, NETXEN_PCIE_REG(0x4), first_boot);
- first_boot = NXRD32(adapter, NETXEN_PCIE_REG(0x4));
+ NXRD32(adapter, NETXEN_PCIE_REG(0x4));
}
/* This is the first boot after power up */
OpenPOWER on IntegriCloud