1
0
Fork 0

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>
hifive-unleashed-5.1
Tapasweni Pathak 2014-09-21 11:51:38 +05:30 committed by Greg Kroah-Hartman
parent abb0bdad0c
commit c5366563d5
1 changed files with 4 additions and 5 deletions

View File

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