diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-12-12 01:41:36 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-06 00:58:43 +0300 |
commit | b7d58394e65c7d90486026614a6ae26d82dd7756 (patch) | |
tree | f51f75b9f9c635c7cef7df65d798c74b6c17d143 /drivers/net/chelsio/vsc7326.c | |
parent | c697f83e8c880a1e69fb2a45a6e4aa0670e10602 (diff) | |
download | linux-b7d58394e65c7d90486026614a6ae26d82dd7756.tar.xz |
chelsio: the return statement is not a function
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/chelsio/vsc7326.c')
-rw-r--r-- | drivers/net/chelsio/vsc7326.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/chelsio/vsc7326.c b/drivers/net/chelsio/vsc7326.c index 335544132ee3..8c4a31e20e21 100644 --- a/drivers/net/chelsio/vsc7326.c +++ b/drivers/net/chelsio/vsc7326.c @@ -256,7 +256,7 @@ static int bist_rd(adapter_t *adapter, int moduleid, int address) else if((result & (1<<8)) != 0x0) CH_ERR("bist read error: 0x%x\n", result); - return(result & 0xff); + return (result & 0xff); } static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) @@ -286,7 +286,7 @@ static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) else if((result & (1<<26)) != 0x0) CH_ERR("bist write error: 0x%x\n", result); - return(0); + return 0; } static int run_bist(adapter_t *adapter, int moduleid) @@ -295,7 +295,7 @@ static int run_bist(adapter_t *adapter, int moduleid) (void) bist_wr(adapter,moduleid, 0x00, 0x02); (void) bist_wr(adapter,moduleid, 0x01, 0x01); - return(0); + return 0; } static int check_bist(adapter_t *adapter, int moduleid) @@ -309,14 +309,14 @@ static int check_bist(adapter_t *adapter, int moduleid) if ((result & 3) != 0x3) CH_ERR("Result: 0x%x BIST error in ram %d, column: 0x%04x\n", result, moduleid, column); - return(0); + return 0; } static int enable_mem(adapter_t *adapter, int moduleid) { /*enable mem*/ (void) bist_wr(adapter,moduleid, 0x00, 0x00); - return(0); + return 0; } static int run_bist_all(adapter_t *adapter) @@ -358,7 +358,7 @@ static int run_bist_all(adapter_t *adapter) udelay(300); vsc_write(adapter, REG_MEM_BIST, 0x0); mdelay(10); - return(0); + return 0; } static int mac_intr_handler(struct cmac *mac) |