Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2061066rwi; Tue, 1 Nov 2022 03:25:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70GS43bqKpGTcWvQlZKVJa892K5mWF3XzZvABllJziWhJhUf779hFKlTUavtQ9rkhUAdC2 X-Received: by 2002:a17:90a:aa91:b0:212:f865:4f0d with SMTP id l17-20020a17090aaa9100b00212f8654f0dmr19262575pjq.90.1667298347499; Tue, 01 Nov 2022 03:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667298347; cv=none; d=google.com; s=arc-20160816; b=HIuZ7XEptQVjrlrr+aRnNLJeDmBgc0fbtkYHIJ/LdPNq2RVeIig8dgywYOx+f2Pn/5 PTrllsXpg/Da47QeDhi8sT8JY0Uezk3eziyv0ESE1sKTwTgyUHrnom7T0Q98jufEIWDn syVCE69hbHa73Kolzj80nuHsKyin2BnXrut8cb3d7iO9uCJz2ZVoaPzlzfQLHFxocoZN 8wQtTkmODwzHYbQBDUfu8GIi1lfJzFdrcXM9oFVOwt1pLBia03G6XISrNRoElN0AGDCu 882u7FL70frxXw3xtEII/VKrQpaUxLMHMdIU0vkEhaTqJUI0QX+tdtoqywEv9iSeOuus 44QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=zXAV22cE8xeJC1RPRr6A4B/eFz43yzkKYAVHqDhyqLw=; b=r3O8YwTwLRXpazAxaKRx0d16cfdDQL7eeEdZYNW/7q6tnr1d7RDX8gRE6RK9jfI0a5 1zZKhf1UEBlE4+QZ8qL3LpkzHlr5wrXlrXwx6uVDY+lBID16VrT4uy/PlVY648UuhdLP Tpx7NyLL+Vps8u24qK76UJ8YEv+y4bpt4pDctOwwFCpLc5HBFIpb6KKNnWC3vhZirYYK 9yWI39r6LZsZz5EzQyi6AOH7IppFbjCjFceMHQUcrwOIFdHrXRD4n63jeLeWHrUXrqW0 FZdkTMY1S3a6mFEz5RnFFWlvGHINNqENuHM/koGln0mw8X5MRkFBWDs6LB6h6SGWDJnX sxaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q8332Lxw; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k186-20020a633dc3000000b004393f624553si12219389pga.864.2022.11.01.03.25.34; Tue, 01 Nov 2022 03:25:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q8332Lxw; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbiKAKUp (ORCPT + 66 others); Tue, 1 Nov 2022 06:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbiKAKUo (ORCPT ); Tue, 1 Nov 2022 06:20:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7625260FA; Tue, 1 Nov 2022 03:20:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 16E2561547; Tue, 1 Nov 2022 10:20:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25199C433D6; Tue, 1 Nov 2022 10:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667298042; bh=1I05wtll6/CHogEqtDf9neeBlDMZ+tVZTPcLDXFJg5A=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Q8332Lxw3nymtZFCxYxGvTYBTpAKzVnuxnoFk1hY4nVNbrLXW5wXIBrBLAs863ZZ6 H9RuaGg551NAl0e/5rhBsNFDa1Cjn7r3LO4lrZlFGfH0USx53Yzjcbia/4ZmBTfvGg lr+Z/rHQQnTkIBZExbC6VKFhZecDDGFfd8pQNVVJ8l+UAs7ADPhJX6kS6sKe2gtvNa Gmy6jRPf5hKZ1QO6FBIOzmMXqPXoS4H2e2Htm5xmzY2dcbZSnX8O7R0PcvcH4FXplL mIK/ct9Tp3WHQxXgzvVVH6ufQAIdxU4yUEbe+NWnusEtbocCq6Mw1966O2tfO9zc3m eCl02SYziXL/g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: wifi: ipw2200: Remove the unused function ipw_alive() From: Kalle Valo In-Reply-To: <20221017071746.118685-1-jiapeng.chong@linux.alibaba.com> References: <20221017071746.118685-1-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: stas.yakovlev@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166729803673.21401.16710194192988626348.kvalo@kernel.org> Date: Tue, 1 Nov 2022 10:20:39 +0000 (UTC) X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jiapeng Chong wrote: > The function ipw_alive() is defined in the ipw2200.c file, but not called > elsewhere, so delete this unused function. > > drivers/net/wireless/intel/ipw2x00/ipw2200.c:3007:19: warning: unused function 'ipw_alive'. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2410 > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Patch applied to wireless-next.git, thanks. 7bb09fb8f577 wifi: ipw2200: Remove the unused function ipw_alive() -- https://patchwork.kernel.org/project/linux-wireless/patch/20221017071746.118685-1-jiapeng.chong@linux.alibaba.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches