From 39992028c76c4dfcf26f965922fecb579b7f8d6e Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Sun, 25 Nov 2018 19:47:34 +0000 Subject: char: lp: do not use return as a function return is not a function, parentheses are not required. Signed-off-by: Sudip Mukherjee Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- drivers/char/lp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/char/lp.c') diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 65bf32244f48..4153c6f5683a 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c @@ -184,7 +184,7 @@ static int lp_preempt(void *handle) { struct lp_struct *this_lp = (struct lp_struct *)handle; set_bit(LP_PREEMPT_REQUEST, &this_lp->bits); - return (1); + return 1; } @@ -199,7 +199,7 @@ static int lp_negotiate(struct parport * port, int mode) parport_negotiate (port, mode); } - return (mode); + return mode; } static int lp_reset(int minor) @@ -279,7 +279,7 @@ static int lp_wait_ready(int minor, int nonblock) /* If we're not in compatibility mode, we're ready now! */ if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) { - return (0); + return 0; } do { -- cgit v1.2.3-59-g8ed1b