From patchwork Fri Nov 27 17:58:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 334042 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=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 0816BC6379D for ; Fri, 27 Nov 2020 17:58:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A8C5F2224C for ; Fri, 27 Nov 2020 17:58:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="J+X0KHhY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733090AbgK0R6c (ORCPT ); Fri, 27 Nov 2020 12:58:32 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27917 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732832AbgK0R6b (ORCPT ); Fri, 27 Nov 2020 12:58:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606499909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=4LunoHOSViYokVYuRCQyRja8YCLtsagi9dLGWhl23qk=; b=J+X0KHhY3a9WUY2q47gY3A6Rv1Zgz2tYurLlO7wew49c7pBDzA9cky4OOzOPZobNhYG+f/ BLSDsqg1SRc125GAtHDNXGGqJB4lMivGZ8cCfLPwQqWiiAQXCVPRiayfrH4/++shc5/usu UBGxaLrASix8iYIe6zZMdcS8Fb1NGtk= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-585-Pa7A6kViN9mRhU1isW-zgA-1; Fri, 27 Nov 2020 12:58:28 -0500 X-MC-Unique: Pa7A6kViN9mRhU1isW-zgA-1 Received: by mail-qt1-f198.google.com with SMTP id v9so3651038qtw.12 for ; Fri, 27 Nov 2020 09:58:27 -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=4LunoHOSViYokVYuRCQyRja8YCLtsagi9dLGWhl23qk=; b=AEck9Wt571ysks8ovZr49j+CRoqtykB9ATsCHXJdpDetxZa8NSNB25v5PAtwOrpsbt EAwO2JAjsGqJs5p+IV5MNw+MD0uaI1y4ZKDgqD7Nq/qXyUrw/pvtsckCG9XlL148j1Eo fmplyQS22SgvD6UKyF39C409vVpUXE+XFdqnUIIps4WdZwEADumGTev9KRPOfd7DykUV W2cZWbHv+JboGviztDiDgQF3bH82KSgOtnkY4AabQE6bgQW1zc/Fed+TgFbVo11A10IM cOtFAQuz8h/PONRIQvhyXep+3Ik9NI/FNeeQmkW91W5ma2LtAhpDCtFhEiRglqwpanNe rLWA== X-Gm-Message-State: AOAM532BYayGJciIKZ/Z+GbWA7RfxUsZ49XWD520M1dh6tGxURheDVN/ +nIFoSbbC4bDIQ92O3KZNUzuIDcdcvbjK3p4hlW0gfHFcfAEWYahku1NHwV4DaZCL9MdL9wLuFQ 85HTtbfLzUHF/PqX2 X-Received: by 2002:ac8:6b11:: with SMTP id w17mr9671582qts.150.1606499907475; Fri, 27 Nov 2020 09:58:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqc/CVfNGFpfgITGO2zbYhtL/kIf2QRQ37Phb2eGz1BpPgYqPvhZRP+ayREWsyzYkbW84qZg== X-Received: by 2002:ac8:6b11:: with SMTP id w17mr9671560qts.150.1606499907295; Fri, 27 Nov 2020 09:58:27 -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 s68sm6416127qkc.43.2020.11.27.09.58.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 09:58:26 -0800 (PST) From: trix@redhat.com To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org, bigeasy@linutronix.de, mpe@ellerman.id.au, lee.jones@linaro.org, kieran.bingham+renesas@ideasonboard.com, dan.carpenter@oracle.com, adobriyan@gmail.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: cisco: remove trailing semicolon in macro definition Date: Fri, 27 Nov 2020 09:58:21 -0800 Message-Id: <20201127175821.2756988-1-trix@redhat.com> X-Mailer: git-send-email 2.18.4 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/cisco/airo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index 74acf9af2adb..ba62bb2995d9 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -5785,7 +5785,7 @@ static int airo_get_quality (StatusRid *status_rid, CapabilityRid *cap_rid) } #define airo_get_max_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x20 : 0xa0) -#define airo_get_avg_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x10 : 0x50); +#define airo_get_avg_quality(cap_rid) (memcmp((cap_rid)->prodName, "350", 3) ? 0x10 : 0x50) /*------------------------------------------------------------------*/ /*