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>
This commit is contained in:
parent
6a08d194ee
commit
a02cec2155
84 changed files with 220 additions and 222 deletions
|
@ -142,7 +142,7 @@ static unsigned long rfkill_last_scheduled;
|
|||
static unsigned long rfkill_ratelimit(const unsigned long last)
|
||||
{
|
||||
const unsigned long delay = msecs_to_jiffies(RFKILL_OPS_DELAY);
|
||||
return (time_after(jiffies, last + delay)) ? 0 : delay;
|
||||
return time_after(jiffies, last + delay) ? 0 : delay;
|
||||
}
|
||||
|
||||
static void rfkill_schedule_ratelimited(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue