summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/atheros/atlx
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 22:11:32 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-09-24 14:09:27 (GMT)
commit6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab (patch)
tree3aa0ea0ecb5cf76fb061baa81901ce6a5a6dc203 /drivers/net/ethernet/atheros/atlx
parent3398032c65127749683e44cc263049606fec4322 (diff)
downloadlinux-6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab.tar.xz
atheros: 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/atheros/atlx')
-rw-r--r--drivers/net/ethernet/atheros/atlx/atl2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.h b/drivers/net/ethernet/atheros/atlx/atl2.h
index 3ebe19f..2f27d4c 100644
--- a/drivers/net/ethernet/atheros/atlx/atl2.h
+++ b/drivers/net/ethernet/atheros/atlx/atl2.h
@@ -42,7 +42,7 @@
#include "atlx.h"
#ifdef ETHTOOL_OPS_COMPAT
-extern int ethtool_ioctl(struct ifreq *ifr);
+int ethtool_ioctl(struct ifreq *ifr);
#endif
#define PCI_COMMAND_REGISTER PCI_COMMAND