diff options
author | Baoyou Xie <[email protected]> | 2016-09-30 15:48:50 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-03 01:23:47 -0400 |
commit | 3a82e78c131a8199d38cf653b523c8fa2909df65 (patch) | |
tree | 6c5da7ce48dbf1c0185e8f91b061b0b6012a6b63 /net/unix/sysctl_net_unix.c | |
parent | 8efebd6e5e93283a72d7a014d6dd8130e6601352 (diff) |
net: ethernet: mediatek: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/net/ethernet/mediatek/mtk_eth_soc.c:2041:5: warning: no previous prototype for 'mtk_get_link_ksettings' [-Wmissing-prototypes]
drivers/net/ethernet/mediatek/mtk_eth_soc.c:2052:5: warning: no previous prototype for 'mtk_set_link_ksettings' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions