mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
i40e: Make local function i40e_get_link_speed static
Fixes the following sparse warning: drivers/net/ethernet/intel/i40e/i40e_main.c:5440:5: warning: symbol 'i40e_get_link_speed' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8c2ceabe99
commit
3758d2c74d
|
|
@ -5381,7 +5381,7 @@ static int i40e_vsi_config_tc(struct i40e_vsi *vsi, u8 enabled_tc)
|
|||
* @vsi: VSI to be configured
|
||||
*
|
||||
**/
|
||||
int i40e_get_link_speed(struct i40e_vsi *vsi)
|
||||
static int i40e_get_link_speed(struct i40e_vsi *vsi)
|
||||
{
|
||||
struct i40e_pf *pf = vsi->back;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user