summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 15:11:30 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-24 10:09:18 -0400
commit3398032c65127749683e44cc263049606fec4322 (patch)
tree265fea4f4415212fe005175d219ed31434374f5e /drivers/net/ethernet
parent68d34301518b678850ad897ef0dcd4b894632868 (diff)
downloadop-kernel-dev-3398032c65127749683e44cc263049606fec4322.zip
op-kernel-dev-3398032c65127749683e44cc263049606fec4322.tar.gz
adi: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.h b/drivers/net/ethernet/adi/bfin_mac.h
index 7a07ee0..6dec86a 100644
--- a/drivers/net/ethernet/adi/bfin_mac.h
+++ b/drivers/net/ethernet/adi/bfin_mac.h
@@ -104,6 +104,6 @@ struct bfin_mac_local {
#endif
};
-extern int bfin_get_ether_addr(char *addr);
+int bfin_get_ether_addr(char *addr);
#endif
OpenPOWER on IntegriCloud