From patchwork Fri Nov 27 17:55:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11936993 X-Patchwork-Delegate: kuba@kernel.org 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=unavailable 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 D58E4C63798 for ; Fri, 27 Nov 2020 17:55:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FAA62224E for ; Fri, 27 Nov 2020 17:55:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TPcMkM6B" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732664AbgK0Rzl (ORCPT ); Fri, 27 Nov 2020 12:55:41 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:31718 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732433AbgK0Rzl (ORCPT ); Fri, 27 Nov 2020 12:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606499739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=Br/IPbdHx/OaYg6xCtsKtihEPu1TMwZ+6MkhSnyxsRs=; b=TPcMkM6B4KGD79RmgCzj/Rs362J1b//NTjPucs9mDzJVh93ECmI7xzjcOTWKnK/IRMJe+e pwKgumN7vNw30cr44bTEVuI88PpPH23Uy51uruYs9v/sLRDtBdjD4qXaqFoy0PQU2b5d6t JX1sLt0J98W2ao3W/RUZX+3/cg2LBgo= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-101-PTymUoVANlSP0jnETSz_Rg-1; Fri, 27 Nov 2020 12:55:38 -0500 X-MC-Unique: PTymUoVANlSP0jnETSz_Rg-1 Received: by mail-qt1-f200.google.com with SMTP id r29so3632733qtu.21 for ; Fri, 27 Nov 2020 09:55:38 -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=Br/IPbdHx/OaYg6xCtsKtihEPu1TMwZ+6MkhSnyxsRs=; b=BzaX8g5YSuCnngaUyg6c6eJNcWm5SMDAB34HHLbuDK63CBfnGqoool+sm0DTALEJle J7ukoXz7F/b9+45f+diew7Bf39Trrsrs2MwhkfD5+gF6/Ilu1qxYQ9gLTkpaq63+Dt/t C4cl9tg4THvX4u9gma7PG3dZSa17xIM5oyC4wzYkp25QFcXJDbnLSUsGCsaoDmX6Gthz asCzRJqHVwLa8vAakgNad6hZCHH7X3FSJAmWcpr+JoirPNsEiPmukvTDN7rh2GElvU63 eBSZtAZ/vVzuOIf9eYF43KOb3+7uGfzRmLwVxjFdgy3IHiHEqp/k8IRmJ1rQ0UuxV1Dg 384g== X-Gm-Message-State: AOAM533ZAHEestpfr2kAuyV6G5vQC2/0Qv1Umnkx4pcH+ZFWE8q+/9Ay PKMp4K5WpJDXESkCRbhTyW+3qpFCZlW8SHqP6scJkQT7iIjA2Qz9u2FW5KMJHX7fEyUrIjMut8R qWBPEkyOUUwEE5qau X-Received: by 2002:a05:620a:a9a:: with SMTP id v26mr9511052qkg.56.1606499737598; Fri, 27 Nov 2020 09:55:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2L15Xpt+pzKI2tQJ1Mja1bZVxZ9cJq3+yTQqjAUjwGC9JUF+NSrylLZnhZYHe6hp4SZgoPA== X-Received: by 2002:a05:620a:a9a:: with SMTP id v26mr9511031qkg.56.1606499737423; Fri, 27 Nov 2020 09:55:37 -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 r48sm6421675qtr.21.2020.11.27.09.55.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 09:55:36 -0800 (PST) From: trix@redhat.com To: chunkeey@googlemail.com, kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: carl9170: remove trailing semicolon in macro definition Date: Fri, 27 Nov 2020 09:55:31 -0800 Message-Id: <20201127175531.2754461-1-trix@redhat.com> X-Mailer: git-send-email 2.18.4 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/ath/carl9170/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/debug.c b/drivers/net/wireless/ath/carl9170/debug.c index 19009aafc4e1..bb40889d7c72 100644 --- a/drivers/net/wireless/ath/carl9170/debug.c +++ b/drivers/net/wireless/ath/carl9170/debug.c @@ -45,7 +45,7 @@ #include "cmd.h" #define ADD(buf, off, max, fmt, args...) \ - off += scnprintf(&buf[off], max - off, fmt, ##args); + off += scnprintf(&buf[off], max - off, fmt, ##args) struct carl9170_debugfs_fops { @@ -818,7 +818,7 @@ void carl9170_debugfs_register(struct ar9170 *ar) #define DEBUGFS_ADD(name) \ debugfs_create_file(#name, carl_debugfs_##name ##_ops.attr, \ ar->debug_dir, ar, \ - &carl_debugfs_##name ## _ops.fops); + &carl_debugfs_##name ## _ops.fops) DEBUGFS_ADD(usb_tx_anch_urbs); DEBUGFS_ADD(usb_rx_pool_urbs);