Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: panel: fixed frivilous else statement warning

Fixed one instance of the following checkpatch.pl warning in
panel.c:
WARNING: else is not generally useful after a break or return

Signed-off-by: Vincent Heuken <me@vincentheuken.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Vincent Heuken and committed by
Greg Kroah-Hartman
083b3638 a3355a62

+5 -4
+5 -4
drivers/staging/panel/panel.c
··· 1800 1800 input->high_timer++; 1801 1801 } 1802 1802 return 1; 1803 - } else { 1804 - /* else signal falling down. Let's fall through. */ 1805 - input->state = INPUT_ST_FALLING; 1806 - input->fall_timer = 0; 1807 1803 } 1804 + 1805 + /* else signal falling down. Let's fall through. */ 1806 + input->state = INPUT_ST_FALLING; 1807 + input->fall_timer = 0; 1808 + 1808 1809 return 0; 1809 1810 } 1810 1811