char: lp: do not use return as a function

return is not a function, parentheses are not required.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sudip Mukherjee 2018-11-25 19:47:34 +00:00 committed by Greg Kroah-Hartman
parent 1c3de93621
commit 39992028c7
1 changed files with 3 additions and 3 deletions

View File

@ -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 {