diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-23 01:40:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 21:34:29 -0400 |
commit | 807540baae406c84dcb9c1c8ef07a56d2d2ae84a (patch) | |
tree | ccd5c2cb57710dd6b73cf8df11eedf67abc14ae4 /drivers/net/skfp/smtdef.c | |
parent | cb4dfe562cac6fcb544df752e40c1d78000d0712 (diff) |
drivers/net: return operator cleanup
Change "return (EXPR);" to "return EXPR;"
return is not a function, parentheses are not required.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skfp/smtdef.c')
-rw-r--r-- | drivers/net/skfp/smtdef.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skfp/smtdef.c b/drivers/net/skfp/smtdef.c index 4e07ff7073f1..1acab0b368e3 100644 --- a/drivers/net/skfp/smtdef.c +++ b/drivers/net/skfp/smtdef.c | |||
@@ -303,7 +303,7 @@ int smt_set_mac_opvalues(struct s_smc *smc) | |||
303 | FDDI_SMT_EVENT, (u_long) FDDI_REMOTE_T_REQ, | 303 | FDDI_SMT_EVENT, (u_long) FDDI_REMOTE_T_REQ, |
304 | smt_get_event_word(smc)); | 304 | smt_get_event_word(smc)); |
305 | } | 305 | } |
306 | return(st) ; | 306 | return st; |
307 | } | 307 | } |
308 | 308 | ||
309 | void smt_fixup_mib(struct s_smc *smc) | 309 | void smt_fixup_mib(struct s_smc *smc) |
@@ -350,6 +350,6 @@ static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper) | |||
350 | *oper = limit ; | 350 | *oper = limit ; |
351 | else | 351 | else |
352 | *oper = mib ; | 352 | *oper = mib ; |
353 | return(old != *oper) ; | 353 | return old != *oper; |
354 | } | 354 | } |
355 | 355 | ||