summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput/util.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 02:20:15 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:12:26 +0200
commit1c830798fe54268cc0f9585b5940bea47fa8eb8a (patch)
treefe35fdea7e487d5b7a173f1b958d7e9fbd9d5b84 /ax25/axgetput/util.c
parent90f6ab2eceada8987fc6e5017ae415eade165c00 (diff)
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/axgetput/util.c')
-rw-r--r--ax25/axgetput/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axgetput/util.c b/ax25/axgetput/util.c
index f20937f..5501035 100644
--- a/ax25/axgetput/util.c
+++ b/ax25/axgetput/util.c
@@ -62,7 +62,7 @@ int my_read(int fd, char *s, int len_max, int *eof, char *p_break)
* len = 0: normal eof. if we're looking for a string, return -1 since
* we have'nt found
*/
- return (len == 0 && p_break ? -1 : (len_got ? len_got : len));
+ return len == 0 && p_break ? -1 : (len_got ? len_got : len);
}
len_got += len;