From 1c830798fe54268cc0f9585b5940bea47fa8eb8a Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 02:20:15 +0200 Subject: Remove parenthesis around arguments of return statements. Signed-off-by: Ralf Baechle --- ax25/access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ax25/access.c') 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; } /*--------------------------------------------------------------------------*/ -- cgit v1.2.3