mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
Staging: media: lirc: fixed else after return or break warning
This patch fixes checkpatch.pl warning in file lirc_serial.c WARNING : else is not generally useful after a break or return Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
abb0bdad0c
commit
c5366563d5
@ -529,11 +529,10 @@ static long send_pulse_homebrew(unsigned long length)
|
||||
|
||||
if (softcarrier)
|
||||
return send_pulse_homebrew_softcarrier(length);
|
||||
else {
|
||||
on();
|
||||
safe_udelay(length);
|
||||
return 0;
|
||||
}
|
||||
|
||||
on();
|
||||
safe_udelay(length);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void send_space_irdeo(long length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user