[PATCH] Input: gamecon: remove unneeded switch fall-through

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This case block will be terminated by a break, so not need
a switch fall-through

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

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:
-- 
2.16.2




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux