aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-01-16 13:31:27 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-17 21:04:19 -0500
commit21041400438ea816fa4ef1967fffa743e811f800 (patch)
tree4f1b656b6a2346a8f574a46c86025903f40438b9 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
parent1d13a96c74fc4802a775189ddb58bc6469ffdaa3 (diff)
qlcnic: make local functions static
Functions only used in one file should be static. Found by running make namespacecheck Compile tested only. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
index 1c8552f682d6..3d64113a35af 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
@@ -1286,7 +1286,7 @@ void qlcnic_remove_sysfs_entries(struct qlcnic_adapter *adapter)
1286 device_remove_file(dev, &dev_attr_bridged_mode); 1286 device_remove_file(dev, &dev_attr_bridged_mode);
1287} 1287}
1288 1288
1289void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter) 1289static void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter)
1290{ 1290{
1291 struct device *dev = &adapter->pdev->dev; 1291 struct device *dev = &adapter->pdev->dev;
1292 1292
@@ -1325,7 +1325,7 @@ void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter)
1325 dev_info(dev, "failed to create eswitch stats sysfs entry"); 1325 dev_info(dev, "failed to create eswitch stats sysfs entry");
1326} 1326}
1327 1327
1328void qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter) 1328static void qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter)
1329{ 1329{
1330 struct device *dev = &adapter->pdev->dev; 1330 struct device *dev = &adapter->pdev->dev;
1331 1331