From patchwork Sat Dec 22 12:51:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengguang Xu X-Patchwork-Id: 10741355 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 5C53A13AD for ; Sat, 22 Dec 2018 17:00:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48D0128A12 for ; Sat, 22 Dec 2018 17:00:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CCF728A1A; Sat, 22 Dec 2018 17:00:23 +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,FREEMAIL_FROM, 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 EBA9128A12 for ; Sat, 22 Dec 2018 17:00:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728257AbeLVRAW (ORCPT ); Sat, 22 Dec 2018 12:00:22 -0500 Received: from mout.gmx.net ([212.227.15.19]:53915 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbeLVRAW (ORCPT ); Sat, 22 Dec 2018 12:00:22 -0500 Received: from localhost.localdomain ([116.30.194.149]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MKZLb-1gZJZo1fE7-001zIe; Sat, 22 Dec 2018 13:51:52 +0100 From: Chengguang Xu To: sfrench@samba.org Cc: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, Chengguang Xu Subject: [PATCH] cifs: remove redundant code in ssselct_sec() Date: Sat, 22 Dec 2018 20:51:38 +0800 Message-Id: <20181222125138.32348-1-cgxu519@gmx.com> X-Mailer: git-send-email 2.17.2 X-Provags-ID: V03:K1:MUwe/LpW0UTAiknwZd6NS6saJDNHwAfFB4VDWFJoDJr7N7IX7Qy yWOKREbtgrp5jARIN+ZEh/Rb4U9pLndG/hxD0FgMs4j4HZZoX7BCHp02i71g9XBlCylb6jn sE4tugqHRbYtryjRTMCljw1tRHGmJgNqyYSuJGzG98KG/2sRaj/cQr8l4YJU6B/zz6lBUV2 my+omPxeX+/P/wFbbr0Fg== X-UI-Out-Filterresults: notjunk:1;V03:K0:4/ldUQfSKCA=:avOcAeSQ71pTshTDGDPLwK niAbxkAQko9ELvU7fxb0iCIUrp8w8/R9Bec/hCIYqute1nZS7BTeRwJeSJFKYcNyFHdWlWbsK //HbmJTi7jL+U44l+pGiY0WTI+JXCVaBBt+PhfeW2/MSZa4sxYui1+kk7DohphuyhGgT5pL+g +D9KIIu/o+gsQgtzkNvqxyR5G+zmUygD+/7W/k7U552Do8tUc37pznjqsfAEAsP/0/p9p8bSi wefvjtQUgf0x6poOTv6KuugLuCIcQU0vFCxiBfNzk3zEi+TtQieO+cBTdJu/V5F7Nm+87xueP Z4n0/IXCoizvqNlivV7TdFzAl4wq8J/VKr+ZjB28tVoFpaxRY2+XK+KMhsX6Sd0tCpTfv7h6q dQQqK4lMQKzocpnbl8BxwLSPv06q0Qd/BtTNs8wSv8qIZ3u3k0wLELWo9LWzf03crjvnUfL10 vYqeAMXm32OdQ7qzai2MmeXqPcxwbOOxolfBpY5B/XZRoFeRvOc2YNGSy4u/ieCNvcXjrePqw Hk0K6HceXzcrOHoGbYQPZSzU2Mr/g48IQkJ0TyVhkmZzPo2jlTyZZ/xgpM0Nw+yGJpaSX68OY tfU03JUDver0QSVipEaJACWA2R8uTXDICpJ07KRJLPcXcB5BZLGeNwFpm0AuWrJYAbGMzVOFW IgdQgWonE/wqUE+eweqcCkFyzKjkcWJyEnY7IF+XccEnV4hl1sbnmjw1v8IPRRrA1lK+C6+tJ SKve380bq1V1PIATBZHUCaVct2F+IVtkL3+zrjMub5DaztWVs3abOY8Gi4c4R+pcvtpH3MiID jp1jZsA+8LLH+CX51+jFi/Bu8Dohoi/+JToY1ZBBTRRRDgUhm/aWjrojeJYnEifb689s4WrlU N07TApANGeDA3xrJBk/wCGK3j+yZCgeL9P7V3kbhc= Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Code cleanup for removing redundant break in switch case. Signed-off-by: Chengguang Xu --- fs/cifs/sess.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index aa23c00367ec..2d378c85de53 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c @@ -1431,7 +1431,6 @@ static int select_sec(struct cifs_ses *ses, struct sess_data *sess_data) #else cifs_dbg(VFS, "Kerberos negotiated but upcall support disabled!\n"); return -ENOSYS; - break; #endif /* CONFIG_CIFS_UPCALL */ case RawNTLMSSP: sess_data->func = sess_auth_rawntlmssp_negotiate;