summaryrefslogtreecommitdiffstats
path: root/listen
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-02-02 09:57:22 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-07-28 08:35:28 +0200
commit2ac1133de78fc83dd3d423ce703b445972002588 (patch)
tree8c94d469298b15db85226b787e102f31ec45d42d /listen
parent86fac8e428e2ecd922c3e10714ad200f3d26ef06 (diff)
Listen: Remove useless parens around argument of return statement.
Found by below coccinelle script. @parens@ expression E; @@ return - ( E - ) ; Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'listen')
-rw-r--r--listen/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen/listen.c b/listen/listen.c
index 77d36fb..af4f19d 100644
--- a/listen/listen.c
+++ b/listen/listen.c
@@ -174,7 +174,7 @@ static int32_t gmt2local(time_t t)
dir = loc->tm_yday - gmt->tm_yday;
dt += dir * 24 * 60 * 60;
- return (dt);
+ return dt;
}
static void handle_sigint(int signal)