Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2539633rwr; Fri, 28 Apr 2023 11:48:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42u3WkFAarSqK9cfAFP6i+z3vdZJrCjHiLMWr75g6sqh3YLQNtGH8LcFTbFkWcrKPnJZzv X-Received: by 2002:a05:6a00:1a50:b0:634:7ba3:d140 with SMTP id h16-20020a056a001a5000b006347ba3d140mr9177593pfv.15.1682707719102; Fri, 28 Apr 2023 11:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682707719; cv=none; d=google.com; s=arc-20160816; b=P9mCopK08XaPuBV13AnpPJaMVGrrF1hac1HrMSqrbvYC2gK6rgtMNhCY4K5bnd7Xh0 mQlZp2UvrZ11QaIt3dawhp6To/qLh5aLt0h484m2qabkY1DPAooktQk/cyNqa1/AvGJM rmMOBJgNb/J0ZBUNIyTuYqF+xwVKQcLBMjPztQ3K4dr6WEiUl1I7W47riOrz3SwQ2A8r r1oe2F8QTPF+ZzsfAPL0hK0ZgB4XSnLZE2YhqOJPA/XWyR7X9VjVwQIexK1XFjVY2JqV PfAfeM8eYmqHEYRIgUIbF2tRu96uWnDkIBAYtLyf7V41aTbN/Fm0Uhe/7XC4s+HtSmjp vo/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=rI9YjSYporZwQ/Z29ciG40cmBGqz8bYjrXtFm3OicjY=; b=Mx8wzv+sNe3JmoBudeH6JWSUc11jZGq8WU3FbZsV3eVI74mo00Afd2y3eBFg/3MiKm 83vpaxeUbGjjZRpIVoM4U5P3g7wNsHRsULCVDeykTuyS/C3Lbdj4T6jB5kq5+JaRW2GF Bbs2HthpNAa2Ui+T7HZxBx485slbMInsx9yYpgfsYqjE+UGsP1cC0wJZxn2iDc7H1qls dZ88zDfO7DA2bu4L5uD5LXP3HBRkQ8QlK1SXBvYRX/F95RRcqQfKRB3LyWimVmloQHC9 yT8zSJgVj4VILeEgIFsu5D6SnX2Skc3dBCzhjAv2uyAaKrsyEAF0ry7gL58sIpazqqpV mhUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=Eei27pxT; 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=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l185-20020a6391c2000000b0051f226adf10si22003116pge.273.2023.04.28.11.48.28; Fri, 28 Apr 2023 11:48:39 -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=@sipsolutions.net header.s=mail header.b=Eei27pxT; 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=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346517AbjD1SmD (ORCPT + 62 others); Fri, 28 Apr 2023 14:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346506AbjD1SmC (ORCPT ); Fri, 28 Apr 2023 14:42:02 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DDCE1FEB for ; Fri, 28 Apr 2023 11:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=rI9YjSYporZwQ/Z29ciG40cmBGqz8bYjrXtFm3OicjY=; t=1682707319; x=1683916919; b=Eei27pxTa5KYOOIS7qE+LEy56aXVQm4iMP68u9mcG5Nkafu Y33EXSTxr5GI3Hp1gohXwA3GQW7XbxS/heHnFrzG0BkJCw4tsycoVMg0XNKrlP+5cdnKTdezQU7a4 ZjOoDl22SCJU2HA2X6PWg5BgNo8HEwfV8jbnSZhrs4TwUts7BE3PCob1Zrgy6r32E5Dvsxk59KoBb x1pNMEBCuBvsYaduLMow5HmNWJy7eqoxheJFaD/0VKFnlui/c0kHC9VGWhyBep8rqVEt3cpUZpiQ4 kcMN9IJqR3kCyDIp1vNMDdgwpAKulVjYnlPEQqmXrSsCOuSPz4tMrKAO8p4537yw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1psT2Y-00BKpO-1d; Fri, 28 Apr 2023 20:41:54 +0200 Message-ID: <431b8d98c2e5d81c20862965151ac63596f04bf3.camel@sipsolutions.net> Subject: Re: [PATCH] wifi: rtlwifi: rtl8192cu: Remove driver From: Johannes Berg To: Larry Finger , Kalle Valo Cc: linux-wireless@vger.kernel.org Date: Fri, 28 Apr 2023 20:41:53 +0200 In-Reply-To: <20230428182933.19157-1-Larry.Finger@lwfinger.net> References: <20230428182933.19157-1-Larry.Finger@lwfinger.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Fri, 2023-04-28 at 13:29 -0500, Larry Finger wrote: > --- a/drivers/net/wireless/realtek/rtlwifi/core.c > +++ b/drivers/net/wireless/realtek/rtlwifi/core.c > @@ -1770,12 +1770,6 @@ static void rtl_op_flush(struct ieee80211_hw *hw, > =C2=A0static int rtl_op_set_tim(struct ieee80211_hw *hw, struct ieee80211= _sta *sta, > =C2=A0 =C2=A0 bool set) > =C2=A0{ > - struct rtl_priv *rtlpriv =3D rtl_priv(hw); > - struct rtl_hal *rtlhal =3D rtl_hal(rtl_priv(hw)); > - > - if (rtlhal->hw_type =3D=3D HARDWARE_TYPE_RTL8192CU) > - schedule_work(&rtlpriv->works.update_beacon_work); > - > =C2=A0 return 0; > =C2=A0} > =C2=A0 Looks like you could remove that entire method if it does nothing now, it doesn't matter to mac80211 if you have it or not (since you don't use AP_LINK_PS.) Not sure it matters to you in the driver :) johannes