aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-18 14:16:47 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-22 18:32:44 -0500
commitde5b867741ec96861fb0021c44113996c9dea42a (patch)
tree8c5d95bf18b17062cbd13e69ff0fb324d35f9106 /drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
parentsctp: remove casting from function calls through ops structure (diff)
downloadlinux-dev-de5b867741ec96861fb0021c44113996c9dea42a.tar.xz
linux-dev-de5b867741ec96861fb0021c44113996c9dea42a.zip
cxgb4: make functions static and remove dead code
Cleanup by making local functions static. The code to load config file is unreachable in net-next, probably came from some out of tree driver. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
index d958c44341b5..25dfeb8f28ed 100644
--- a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
+++ b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
@@ -363,8 +363,8 @@ int t4vf_fw_reset(struct adapter *adapter)
* Reads the values of firmware or device parameters. Up to 7 parameters
* can be queried at once.
*/
-int t4vf_query_params(struct adapter *adapter, unsigned int nparams,
- const u32 *params, u32 *vals)
+static int t4vf_query_params(struct adapter *adapter, unsigned int nparams,
+ const u32 *params, u32 *vals)
{
int i, ret;
struct fw_params_cmd cmd, rpl;