summaryrefslogtreecommitdiffstats
path: root/listen
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 02:20:24 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-02 18:16:06 +0200
commitafa8313f928dadd74dba812bef6038ba0d144370 (patch)
treedf02d17a3b28acb7e84e91131913ae0ebde16c06 /listen
parent8ad248395c0fa0bccff6d0f9c43712018f0645f9 (diff)
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'listen')
-rw-r--r--listen/ax25dump.c2
-rw-r--r--listen/listen.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/listen/ax25dump.c b/listen/ax25dump.c
index 6342dd4..a9a7360 100644
--- a/listen/ax25dump.c
+++ b/listen/ax25dump.c
@@ -367,7 +367,7 @@ char *pax25(char *buf, unsigned char *data)
else
*s = '\0';
- return (buf);
+ return buf;
}
static int ftype(unsigned char *data, int *type, int *ns, int *nr, int *pf,
diff --git a/listen/listen.c b/listen/listen.c
index 04be3f1..11f365e 100644
--- a/listen/listen.c
+++ b/listen/listen.c
@@ -332,7 +332,7 @@ int get16(unsigned char *cp)
x <<= 8;
x |= *cp++;
- return (x);
+ return x;
}
int get32(unsigned char *cp)
@@ -347,5 +347,5 @@ int get32(unsigned char *cp)
x <<= 8;
x |= *cp;
- return (x);
+ return x;
}