diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 02:20:15 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:12:26 +0200 |
commit | 1c830798fe54268cc0f9585b5940bea47fa8eb8a (patch) | |
tree | fe35fdea7e487d5b7a173f1b958d7e9fbd9d5b84 /ax25/access.c | |
parent | 90f6ab2eceada8987fc6e5017ae415eade165c00 (diff) |
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/access.c')
-rw-r--r-- | ax25/access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ax25/access.c b/ax25/access.c index 1363238..185deda 100644 --- a/ax25/access.c +++ b/ax25/access.c @@ -32,7 +32,7 @@ static void char_to_hex(char *c, char *h, int n); int conv_rand(void) { seed = (1103515245L * seed + 12345) & CONV_RAND_MAX; - return ((int) (seed & 077777)); + return (int) (seed & 077777); } /*--------------------------------------------------------------------------*/ @@ -46,7 +46,7 @@ void conv_randomize(void) int conv_random(int num, int base) { - return (((long) (conv_rand() * time(0)) & CONV_RAND_MAX) % num + base); + return ((long) (conv_rand() * time(0)) & CONV_RAND_MAX) % num + base; } /*--------------------------------------------------------------------------*/ |