diff options
| author | Roland Dreier <rolandd@cisco.com> | 2008-04-21 21:19:12 -0400 |
|---|---|---|
| committer | Roland Dreier <rolandd@cisco.com> | 2008-04-21 21:19:12 -0400 |
| commit | 6a5546e76c4b2367e03cb52884b97c94d6260a8c (patch) | |
| tree | f9282f783a76388b247864aeb0eaac825ee034e3 | |
| parent | 135cedad7457be6a96d5e151dfd48f7888a75e94 (diff) | |
RDMA/nes: Remove unneeded function declarations
Remove redundant static declarations of functions that are defined
before they are used in the source.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
| -rw-r--r-- | drivers/infiniband/hw/nes/nes.c | 6 | ||||
| -rw-r--r-- | drivers/infiniband/hw/nes/nes_nic.c | 9 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c index b00b0e3a91dc..b046262ed638 100644 --- a/drivers/infiniband/hw/nes/nes.c +++ b/drivers/infiniband/hw/nes/nes.c | |||
| @@ -96,12 +96,6 @@ static LIST_HEAD(nes_dev_list); | |||
| 96 | 96 | ||
| 97 | atomic_t qps_destroyed; | 97 | atomic_t qps_destroyed; |
| 98 | 98 | ||
| 99 | static void nes_print_macaddr(struct net_device *netdev); | ||
| 100 | static irqreturn_t nes_interrupt(int, void *); | ||
| 101 | static int __devinit nes_probe(struct pci_dev *, const struct pci_device_id *); | ||
| 102 | static void __devexit nes_remove(struct pci_dev *); | ||
| 103 | static int __init nes_init_module(void); | ||
| 104 | static void __exit nes_exit_module(void); | ||
| 105 | static unsigned int ee_flsh_adapter; | 99 | static unsigned int ee_flsh_adapter; |
| 106 | static unsigned int sysfs_nonidx_addr; | 100 | static unsigned int sysfs_nonidx_addr; |
| 107 | static unsigned int sysfs_idx_addr; | 101 | static unsigned int sysfs_idx_addr; |
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 34166641f207..01cd0effc492 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c | |||
| @@ -92,15 +92,6 @@ static const u32 default_msg = NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK | |||
| 92 | | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN; | 92 | | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN; |
| 93 | static int debug = -1; | 93 | static int debug = -1; |
| 94 | 94 | ||
| 95 | |||
| 96 | static int nes_netdev_open(struct net_device *); | ||
| 97 | static int nes_netdev_stop(struct net_device *); | ||
| 98 | static int nes_netdev_start_xmit(struct sk_buff *, struct net_device *); | ||
| 99 | static struct net_device_stats *nes_netdev_get_stats(struct net_device *); | ||
| 100 | static void nes_netdev_tx_timeout(struct net_device *); | ||
| 101 | static int nes_netdev_set_mac_address(struct net_device *, void *); | ||
| 102 | static int nes_netdev_change_mtu(struct net_device *, int); | ||
| 103 | |||
| 104 | /** | 95 | /** |
| 105 | * nes_netdev_poll | 96 | * nes_netdev_poll |
| 106 | */ | 97 | */ |
