From patchwork Sat Feb 4 20:09:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 13128872 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95C6EC61DA4 for ; Sat, 4 Feb 2023 20:10:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231165AbjBDUJ6 (ORCPT ); Sat, 4 Feb 2023 15:09:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjBDUJ5 (ORCPT ); Sat, 4 Feb 2023 15:09:57 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B467123330 for ; Sat, 4 Feb 2023 12:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675541349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/WaCBskwLyuFZAeD+BROUlg6POGlmNuR7JtD/rOXxGw=; b=Akb4SCSvbITecTXG5S8IgrwWWbmywzBRaiyd7eeFbfgIcR26BsvJiyPw1S12peXXs5Bvas TaHMASytaOMvfle4oGgGArco5t0GFsZ3BEOpW3N0JhHtdYL3HY8JxGFqCO1JmN1flolb4N TuixZoBb23VF3b0cIF4Gq+2E+uUheSQ= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-422-6t8Vj3ntPEanXHtHB2yT8A-1; Sat, 04 Feb 2023 15:09:08 -0500 X-MC-Unique: 6t8Vj3ntPEanXHtHB2yT8A-1 Received: by mail-qt1-f197.google.com with SMTP id a24-20020ac84d98000000b003b9a4958f0cso4309696qtw.3 for ; Sat, 04 Feb 2023 12:09:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/WaCBskwLyuFZAeD+BROUlg6POGlmNuR7JtD/rOXxGw=; b=bAUnUMKMPnb1DvtjRLSG+1FonqoKfVWh0a8wpLX9zGJvWfPO8heBiyvQiX52kaAbLz kzH3Ja066b5N2saw8OW3Elx9tjfwDkXELvZS9KnrM1srMGeJaFS7tmPHxoqyB0M6L/+Z Zvq95nu/VqwU0an2WV9H9+90d+gjKAuCJlWwnFHmbirDmTJDBbVYKvolLTx1ax8COmGD vJaptLg74qTQTME8xHyXqTARKNgjieD/FtBut0T9cRkklktx3Ckkc9RA67KR1AlWgpQu u7BiVn0ze5yd/TChFwXFUMhxSxuOWHDWNj+Tn2c1W2QALmO1FgGRJTJPLKG9CoWiQMKL NnZA== X-Gm-Message-State: AO0yUKVORORBcQVQ5csp+2OepvpyTIPXhRHUGUpJD0UywN62FnnTtr22 /WAcAYcKIRjaWlyW7SNsgkjCHXQHGgsJPI903UUq7Up6YuOgq4ck9QDGZCsAJK28lwcLqBkpR/+ zsEc7apd1IW6cjbG3 X-Received: by 2002:ac8:5756:0:b0:3ba:19e5:3e45 with SMTP id 22-20020ac85756000000b003ba19e53e45mr3388194qtx.13.1675541347777; Sat, 04 Feb 2023 12:09:07 -0800 (PST) X-Google-Smtp-Source: AK7set8A94jVY4UFhKq+MGGkEfrBwfqPSgkhmWjhq+AOIShxahEwEUVaVYuzs1h1UCXCT1EJocHikg== X-Received: by 2002:ac8:5756:0:b0:3ba:19e5:3e45 with SMTP id 22-20020ac85756000000b003ba19e53e45mr3388168qtx.13.1675541347551; Sat, 04 Feb 2023 12:09:07 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id v11-20020a05620a122b00b0070648cf78bdsm4230548qkj.54.2023.02.04.12.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Feb 2023 12:09:07 -0800 (PST) From: Tom Rix To: kune@deine-taler.de, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: wireless: zd1211rw: remove redundant decls Date: Sat, 4 Feb 2023 12:09:02 -0800 Message-Id: <20230204200902.1709343-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org building with W=2 has these errors redundant redeclaration of ‘zd_rf_generic_patch_6m’ [-Werror=redundant-decls] redundant redeclaration of ‘zd_rf_patch_6m_band_edge’ [-Werror=redundant-decls] Remove the second decls. Signed-off-by: Tom Rix Reviewed-by: Simon Horman --- drivers/net/wireless/zydas/zd1211rw/zd_rf.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h index 8bfec9e75125..9ca69df3d288 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h @@ -85,9 +85,6 @@ static inline int zd_rf_should_patch_cck_gain(struct zd_rf *rf) return rf->patch_cck_gain; } -int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel); -int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel); - /* Functions for individual RF chips */ int zd_rf_init_rf2959(struct zd_rf *rf);