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 51753C63797 for ; Sat, 4 Feb 2023 20:10:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbjBDUJ7 (ORCPT ); Sat, 4 Feb 2023 15:09:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230187AbjBDUJ5 (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 B4B58244B7 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-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-310-0eu3RlYCNcKsl6ut1iXTxw-1; Sat, 04 Feb 2023 15:09:08 -0500 X-MC-Unique: 0eu3RlYCNcKsl6ut1iXTxw-1 Received: by mail-qt1-f199.google.com with SMTP id hf20-20020a05622a609400b003abcad051d2so4287427qtb.12 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=aTAGzcs5DbdtlCOSrDrge8iMo++kjyxeN9AfytNRQPGMbHc19//x2MnCjCQKJH1joV CXpURC/6E60mY+MY7E+Wvxda/vN05wGC5bB4l+qyMHONGQjY9DHk4IYVMTiPApeQhKjM qxinz7R4keoh4cJCD8IfpDDoV4Tej7x+oPLFM/2wsFPMe0oNa909KFP46YqsQLvBz+jV DiVVH1rZ4tU3J/phJuVZUrsfCrfzLml5gEMhC2+tSjTvCG0TuvpqUYfgOxVy+WLykbVs DZHcmJ6Ncm5ZnYH90+5HT0Pv7UjPq4re/Elw6EWwrOrFWCd6R4ElbhUQA3KMTLzV5FHX Bxng== X-Gm-Message-State: AO0yUKVv0xjrUp84a5T6v+qwyq5k8wIFXkZ9eJq/uXTsALK1KdPc5PEu VTcIdVOJx91iOV3fqlB2rcUxx4ZX9n8uHSVyrkCi2Gz+r0EiCw24KCgIh17pwlMmuMtacHsqJVu a7MyQ7YKPktYmKmfDdc5T+IKo X-Received: by 2002:ac8:5756:0:b0:3ba:19e5:3e45 with SMTP id 22-20020ac85756000000b003ba19e53e45mr3388200qtx.13.1675541347780; 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.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 --- 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); -- 2.26.3