From patchwork Mon May 10 08:42:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Yanjun X-Patchwork-Id: 12246481 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00, DATE_IN_FUTURE_12_24,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52F2FC433ED for ; Sun, 9 May 2021 16:18:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 37D8461040 for ; Sun, 9 May 2021 16:18:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbhEIQTC (ORCPT ); Sun, 9 May 2021 12:19:02 -0400 Received: from mga11.intel.com ([192.55.52.93]:35118 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbhEIQTC (ORCPT ); Sun, 9 May 2021 12:19:02 -0400 IronPort-SDR: QsQnqgM7nuJ1LeB9hOR53nc6dZXYwF42i5Q+/jKEkC8zWYdZkY2Ueg+svHlWIJIPgMB59YIaaU BEN8bhybhy+A== X-IronPort-AV: E=McAfee;i="6200,9189,9979"; a="195949260" X-IronPort-AV: E=Sophos;i="5.82,286,1613462400"; d="scan'208";a="195949260" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2021 09:17:57 -0700 IronPort-SDR: DFl36rkrpY+ElyzMCOxQC2hEU2axuJqXmgPxFCaLwLU2IBHqvkj/2lnaY979gKot5gvLCOE59l Jn5Src715mHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,286,1613462400"; d="scan'208";a="435776018" Received: from unknown (HELO intel-86.bj.intel.com) ([10.238.154.86]) by orsmga008.jf.intel.com with ESMTP; 09 May 2021 09:17:55 -0700 From: Zhu Yanjun To: zyjzyj2000@gmail.com, dledford@redhat.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org Subject: [PATCH 1/1] RDMA/rxe: remove the unnecessary break Date: Mon, 10 May 2021 04:42:35 -0400 Message-Id: <20210510084235.223628-1-yanjun.zhu@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Zhu Yanjun In the final default, the break is not necessary. Fixes: 8700e3e7c485 ("Soft RoCE driver") Signed-off-by: Zhu Yanjun --- drivers/infiniband/sw/rxe/rxe_qp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c index 34ae957a315c..00588735744f 100644 --- a/drivers/infiniband/sw/rxe/rxe_qp.c +++ b/drivers/infiniband/sw/rxe/rxe_qp.c @@ -186,7 +186,6 @@ static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, default: qp->ibqp.qp_num = qpn; - break; } INIT_LIST_HEAD(&qp->grp_list);