From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9B093FE1 for ; Thu, 9 Sep 2021 11:48:52 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id EA41661A4E; Thu, 9 Sep 2021 11:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631188132; bh=/QI+BRvDB+1wIbje5a8x8kgwfLi5dRyIuCwEUMJ67Uc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0rrCGvHzXq4q4P3wRbIPfFdZj9aoF9xeWh+QVHYOtkYUMxcQckD/vmyNkpTr8OuMG 33EhjEWIYevpzewX5QQtfFPAQYO0NpH30f/XC4si7SVH+pMmivhYpl2AYPpkA2z4FD Zybdev5tXrSDqGn3sLsrHYRp1loN5/lRdWq4zVQ8= Date: Thu, 9 Sep 2021 13:48:49 +0200 From: Greg Kroah-Hartman To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Phillip Potter , kernel test robot , linux-staging@lists.linux.dev Subject: Re: [PATCH AUTOSEL 5.14 044/252] staging: rtl8188eu: remove rtw_wx_set_rate handler function Message-ID: References: <20210909114106.141462-1-sashal@kernel.org> <20210909114106.141462-44-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909114106.141462-44-sashal@kernel.org> On Thu, Sep 09, 2021 at 07:37:38AM -0400, Sasha Levin wrote: > From: Phillip Potter > > [ Upstream commit ac5951a6e3d50cfa861ea83baa2ec15d994389cb ] > > Remove rtw_wx_set_rate handler function, which currently handles the > SIOCSIWRATE wext ioctl. This function (although containing a lot of > code) set nothing outside its own local variables, and did nothing other > than call a now removed debugging statement repeatedly. Removing it and > leaving its associated entry in rtw_handlers as NULL is therefore the > better option. Removing this function also fixes a kernel test robot > warning. > > Reported-by: kernel test robot > Signed-off-by: Phillip Potter > Link: https://lore.kernel.org/r/20210625191658.1299-1-phil@philpotter.co.uk > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Sasha Levin > --- > .../staging/rtl8188eu/os_dep/ioctl_linux.c | 75 ------------------- > 1 file changed, 75 deletions(-) This whole driver is now gone in 5.15-rc1, so no need for doing anything like this for older kernels. Please drop this patch from all branches. thanks, greg k-h