diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 20:37:59 +0200 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-24 21:52:53 +0200 |
commit | 00aef9867ee9d0de8380c3e65c1ca41698fc9949 (patch) | |
tree | 44c50eb9b5cfa9809df0dfdfab6ef00203981e1c /drivers/net/ethernet/sfc/selftest.h | |
parent | qlogic: Remove extern from function prototypes (diff) | |
download | linux-00aef9867ee9d0de8380c3e65c1ca41698fc9949.tar.xz linux-00aef9867ee9d0de8380c3e65c1ca41698fc9949.zip |
sfc: 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>
Diffstat (limited to 'drivers/net/ethernet/sfc/selftest.h')
-rw-r--r-- | drivers/net/ethernet/sfc/selftest.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/net/ethernet/sfc/selftest.h b/drivers/net/ethernet/sfc/selftest.h index 87698ae0bf75..a2f4a06ffa4e 100644 --- a/drivers/net/ethernet/sfc/selftest.h +++ b/drivers/net/ethernet/sfc/selftest.h @@ -43,13 +43,12 @@ struct efx_self_tests { struct efx_loopback_self_tests loopback[LOOPBACK_TEST_MAX + 1]; }; -extern void efx_loopback_rx_packet(struct efx_nic *efx, - const char *buf_ptr, int pkt_len); -extern int efx_selftest(struct efx_nic *efx, - struct efx_self_tests *tests, - unsigned flags); -extern void efx_selftest_async_start(struct efx_nic *efx); -extern void efx_selftest_async_cancel(struct efx_nic *efx); -extern void efx_selftest_async_work(struct work_struct *data); +void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr, + int pkt_len); +int efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests, + unsigned flags); +void efx_selftest_async_start(struct efx_nic *efx); +void efx_selftest_async_cancel(struct efx_nic *efx); +void efx_selftest_async_work(struct work_struct *data); #endif /* EFX_SELFTEST_H */ |