diff mbox series

Input: gamecon: remove unneeded switch fall-through

Message ID 1550552139-1904-1-git-send-email-lirongqing@baidu.com (mailing list archive)
State New, archived
Headers show
Series Input: gamecon: remove unneeded switch fall-through | expand

Commit Message

Li RongQing Feb. 19, 2019, 4:55 a.m. UTC
This case block will be terminated by a break, so not need
a switch fall-through

Signed-off-by: Li RongQing <lirongqing@baidu.com>
---
 drivers/input/joystick/gamecon.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/input/joystick/gamecon.c b/drivers/input/joystick/gamecon.c
index d62e73dd9f7f..c11ae594278e 100644
--- a/drivers/input/joystick/gamecon.c
+++ b/drivers/input/joystick/gamecon.c
@@ -895,7 +895,6 @@  static int gc_setup_pad(struct gc *gc, int idx, int pad_type)
 		/* fall through */
 	case GC_MULTI:
 		input_set_capability(input_dev, EV_KEY, BTN_TRIGGER);
-		/* fall through */
 		break;
 
 	case GC_PSX: