From patchwork Sun Nov 1 14:05:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11872055 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 789BC14B2 for ; Sun, 1 Nov 2020 14:05:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55B9622243 for ; Sun, 1 Nov 2020 14:05:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="iNhip/XE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbgKAOFi (ORCPT ); Sun, 1 Nov 2020 09:05:38 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:20810 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbgKAOFi (ORCPT ); Sun, 1 Nov 2020 09:05:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604239536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=aWuZ6CNcX73ZRXvjOOgvWKSO2p04g3cpgBeEkZo1Tfs=; b=iNhip/XE7whz6XZlukyr7LjzpuRMhXyXewJ/gd6Xp74KMTwgH9+B21IptDWTOFAQQk/8MC JQT5eGhLHH12Ji3Lc7j4V0EYoosE+f4zRMQG5zjBUP2z4iQnvPzRGzjfNUqfNRmdOtLLkC kvre9tVyqx0kT96Wud8PVsyRZ8MiO3s= Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-156-l1_kQRoxNmS8CdGArOMbHA-1; Sun, 01 Nov 2020 09:05:35 -0500 X-MC-Unique: l1_kQRoxNmS8CdGArOMbHA-1 Received: by mail-ot1-f70.google.com with SMTP id k103so4758467otk.1 for ; Sun, 01 Nov 2020 06:05:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aWuZ6CNcX73ZRXvjOOgvWKSO2p04g3cpgBeEkZo1Tfs=; b=YZhs2cX+ETRSJiZbAmH6rwniRqTp+1fadmHCfr9xa9E07flsIkPNccfFxXRCGoCkNX 0dQf8VpCrf20tb7gEG73LrpWPAMsuth6TUiXJHMU45BlTGJt/8EJho/Av6Y7FpCa7BnZ Kn0bXnES7Mdxr4VqPXa2A2r//5S9tsR1RW7V7yPAmSazkyn5wMWcN6HCkTNU1Ct2kq9J GufmpNyvn8eb//yB3ts4lK2LRYLm9g66c5Irx5MC0ekS0uCyyNnMDnHUPd0uh3GuXpY8 RihNS2dQQRvDUxwCB2G2bFR4Wfdany/S9OJapSvZC7S/KZXitX3JuJSIFUjbMBKw0HAf Pa3Q== X-Gm-Message-State: AOAM532aXfMGbhEJ4Y1cys3IWkvfQsLYzg/NcgW61tk3ShbscqeN+o8x j/E4kMVG5Hk2Dx6AH5nHL3k1WB5lzIEWtzKbCiwtHhy+ATbPUkbIePbPN9MIakT9NBokWu8zVop A+qmMCR2QlJ0DDmUSXfPOjQ== X-Received: by 2002:a9d:6c0e:: with SMTP id f14mr8738003otq.275.1604239534468; Sun, 01 Nov 2020 06:05:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4WDgKv4A+XxRMymr7Yk4a/1H3WY29ZBfgtBiE1ZxZk/R2BNNIqV4/zyl4X5ZA7JzAKIVmtA== X-Received: by 2002:a9d:6c0e:: with SMTP id f14mr8737996otq.275.1604239534306; Sun, 01 Nov 2020 06:05:34 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id s27sm2923193otg.80.2020.11.01.06.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Nov 2020 06:05:33 -0800 (PST) From: trix@redhat.com To: tariqt@nvidia.com, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net/mlx4_core : remove unneeded semicolon Date: Sun, 1 Nov 2020 06:05:28 -0800 Message-Id: <20201101140528.2279424-1-trix@redhat.com> X-Mailer: git-send-email 2.18.1 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Tom Rix A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix Reviewed-by: Tariq Toukan --- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index 1187ef1375e2..394f43add85c 100644 --- a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c +++ b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c @@ -300,7 +300,7 @@ static const char *resource_str(enum mlx4_resource rt) case RES_FS_RULE: return "RES_FS_RULE"; case RES_XRCD: return "RES_XRCD"; default: return "Unknown resource type !!!"; - }; + } } static void rem_slave_vlans(struct mlx4_dev *dev, int slave);