summaryrefslogtreecommitdiffstats
path: root/kiss
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 /kiss
parent90f6ab2eceada8987fc6e5017ae415eade165c00 (diff)
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'kiss')
-rw-r--r--kiss/net2kiss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss/net2kiss.c b/kiss/net2kiss.c
index 27cd702..535d86c 100644
--- a/kiss/net2kiss.c
+++ b/kiss/net2kiss.c
@@ -254,7 +254,7 @@ static int openpty(int *amaster, int *aslave, char *name,
line[9] = *cp2;
if ((master = open(line, O_RDWR, 0)) == -1) {
if (errno == ENOENT)
- return (-1); /* out of ptys */
+ return -1; /* out of ptys */
} else {
line[5] = 't';
(void) chown(line, getuid(),
@@ -284,7 +284,7 @@ static int openpty(int *amaster, int *aslave, char *name,
}
}
errno = ENOENT; /* out of ptys */
- return (-1);
+ return -1;
}
/* ---------------------------------------------------------------------- */