diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
commit | 1a855fbfb65e0b7b5cce00d7c6a61185ed765edf (patch) | |
tree | 7f6bfd3a7e17abf99fa6d529f9dec3842f701a38 /drivers/infiniband/hw/nes/nes_nic.c | |
parent | 71e0957c6291da030e6f89351846225876731df3 (diff) |
RDMA/nes: Make symbols used only in a single source file static
Avoid namespace pollution and allow the compiler to optimize better.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_nic.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_nic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 9bdfdcc92fff..840d5190009a 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c | |||
@@ -832,7 +832,7 @@ static int nes_netdev_set_mac_address(struct net_device *netdev, void *p) | |||
832 | /** | 832 | /** |
833 | * nes_netdev_set_multicast_list | 833 | * nes_netdev_set_multicast_list |
834 | */ | 834 | */ |
835 | void nes_netdev_set_multicast_list(struct net_device *netdev) | 835 | static void nes_netdev_set_multicast_list(struct net_device *netdev) |
836 | { | 836 | { |
837 | struct nes_vnic *nesvnic = netdev_priv(netdev); | 837 | struct nes_vnic *nesvnic = netdev_priv(netdev); |
838 | struct nes_device *nesdev = nesvnic->nesdev; | 838 | struct nes_device *nesdev = nesvnic->nesdev; |