From patchwork Tue Feb 19 04:55:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li,Rongqing" X-Patchwork-Id: 10819181 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27D421399 for ; Tue, 19 Feb 2019 05:14:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11A2B29A31 for ; Tue, 19 Feb 2019 05:14:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0091A2B690; Tue, 19 Feb 2019 05:14:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6219929A31 for ; Tue, 19 Feb 2019 05:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725780AbfBSFOo (ORCPT ); Tue, 19 Feb 2019 00:14:44 -0500 Received: from mx139-tc.baidu.com ([61.135.168.139]:34164 "EHLO tc-sys-mailedm05.tc.baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725763AbfBSFOn (ORCPT ); Tue, 19 Feb 2019 00:14:43 -0500 X-Greylist: delayed 1131 seconds by postgrey-1.27 at vger.kernel.org; Tue, 19 Feb 2019 00:14:43 EST Received: from localhost (cp01-cos-dev01.cp01.baidu.com [10.92.119.46]) by tc-sys-mailedm05.tc.baidu.com (Postfix) with ESMTP id 30B671EBA003; Tue, 19 Feb 2019 12:55:39 +0800 (CST) From: Li RongQing To: linux-input@vger.kernel.org, marcus.folkesson@gmail.com Subject: [PATCH] Input: gamecon: remove unneeded switch fall-through Date: Tue, 19 Feb 2019 12:55:39 +0800 Message-Id: <1550552139-1904-1-git-send-email-lirongqing@baidu.com> X-Mailer: git-send-email 1.7.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This case block will be terminated by a break, so not need a switch fall-through Signed-off-by: Li RongQing --- 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: