Skip to content

Commit 76a4519

Browse files
Colin Ian Kingdavem330
authored andcommitted
net: aquantia: make function aq_fw2x_get_mac_permanent static
The function aq_fw2x_get_mac_permanent is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'aq_fw2x_get_mac_permanent' was not declared. Should it be static? Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d3adce9 commit 76a4519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static int aq_fw2x_update_link_status(struct aq_hw_s *self)
107107
return 0;
108108
}
109109

110-
int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac)
110+
static int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac)
111111
{
112112
int err = 0;
113113
u32 h = 0U;

0 commit comments

Comments
 (0)