diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-08-25 11:06:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-25 11:04:53 +0100 |
commit | 807d1032e09a42732c374304554a088c6b5e8f92 (patch) | |
tree | b5e9c8447dc3ef0081b1d4d988a332de61f53227 /drivers | |
parent | bc4f128d867289df2310d7e589372502a5d6e0cd (diff) | |
download | linux-stable-807d1032e09a42732c374304554a088c6b5e8f92.tar.gz linux-stable-807d1032e09a42732c374304554a088c6b5e8f92.tar.bz2 linux-stable-807d1032e09a42732c374304554a088c6b5e8f92.zip |
netxen_nic: Remove the repeated declaration
Function 'netxen_rom_fast_read' is declared twice, so remove the
repeated declaration.
Cc: Manish Chopra <manishc@marvell.com>
Cc: Rahul Verma <rahulv@marvell.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h index e5c51256243a..f13fa7396aef 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h @@ -1863,7 +1863,6 @@ static inline u32 netxen_tx_avail(struct nx_host_tx_ring *tx_ring) int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, u64 *mac); int netxen_p3_get_mac_addr(struct netxen_adapter *adapter, u64 *mac); void netxen_change_ringparam(struct netxen_adapter *adapter); -int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, int *valp); extern const struct ethtool_ops netxen_nic_ethtool_ops; |