diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2016-08-22 17:52:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-24 01:53:55 +0200 |
commit | c41419b091f371d846bc5292c9138a78b7e378fe (patch) | |
tree | 993702d79082442650c905263ccc5210b78c8b56 | |
parent | l2tp: Refactor the codes with existing macros instead of literal number (diff) | |
download | linux-c41419b091f371d846bc5292c9138a78b7e378fe.tar.xz linux-c41419b091f371d846bc5292c9138a78b7e378fe.zip |
liquidio: declare liquidio_set_rxcsum_command static
liquidio_set_rxcsum_command is a local function only, no need to expose
it outside of lio_main.c so declare it static and make sparse happy.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/lio_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c index 20d6942edf40..f659a95ffc94 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c @@ -3190,8 +3190,8 @@ static int liquidio_vlan_rx_kill_vid(struct net_device *netdev, * OCTNET_CMD_RXCSUM_DISABLE * @returns SUCCESS or FAILURE */ -int liquidio_set_rxcsum_command(struct net_device *netdev, int command, - u8 rx_cmd) +static int liquidio_set_rxcsum_command(struct net_device *netdev, int command, + u8 rx_cmd) { struct lio *lio = GET_LIO(netdev); struct octeon_device *oct = lio->oct_dev; |