diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-30 10:48:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-03 08:23:47 +0300 |
commit | 3a82e78c131a8199d38cf653b523c8fa2909df65 (patch) | |
tree | 6c5da7ce48dbf1c0185e8f91b061b0b6012a6b63 /crypto/keywrap.c | |
parent | 8efebd6e5e93283a72d7a014d6dd8130e6601352 (diff) | |
download | linux-3a82e78c131a8199d38cf653b523c8fa2909df65.tar.xz |
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 <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/keywrap.c')
0 files changed, 0 insertions, 0 deletions