OSDN Git Service

cxgb4vf: make a couple of functions static
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Oct 2017 13:20:37 +0000 (14:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Oct 2017 17:31:55 +0000 (10:31 -0700)
commitebf6b13142f947be576b40edce214788dfe1d3e3
treef4ba3b685e4a885b8ffcae5176d6bec56d42faf9
parent20e883204f0268b423799781e5efed786f8a11ba
cxgb4vf: make a couple of functions static

The functions t4vf_link_down_rc_str and t4vf_handle_get_port_info are
local to the source and do not need to be in global scope, so make
them static.

Cleans up sparse warnings:
symbol 't4vf_link_down_rc_str' was not declared. Should it be static?
symbol 't4vf_handle_get_port_info' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c