diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-01-08 01:10:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 11:35:27 +0300 |
commit | 581e8ae49ea3a70b438991e388ded2dcbdbd2162 (patch) | |
tree | 7fcf1acc5f67548f8cda89d535734c53c1128e1f /drivers/net/netxen/netxen_nic_main.c | |
parent | 011f4ea09768fdf6f95e3781cba2ed681a2ac710 (diff) | |
download | linux-581e8ae49ea3a70b438991e388ded2dcbdbd2162.tar.xz |
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.c | 2 |
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 880fcd0663e6..9f9d6081959b 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 */ |