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>
This commit is contained in:
parent
54c151d9ed
commit
c41419b091
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue