mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04: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:
committed by
Greg Kroah-Hartman
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)
|
||||
|
||||
Reference in New Issue
Block a user