Re: [PATCH v2] staging: rtl8188eu: Remove an unused variable and some lines of code
From: Fabio M. De Francesco
Date: Wed Jul 21 2021 - 07:44:24 EST
On Wednesday, July 21, 2021 10:19:33 AM CEST Greg Kroah-Hartman wrote:
> On Mon, Jul 05, 2021 at 03:41:51PM +0200, Fabio M. De Francesco wrote:
> > Remove set but unused iw_operation_mode[]. This driver doesn't support
> > SIOCSIWRATE. It just returns zero and does nothing. Change it to
> > return -ENOTSUPP instead. (This is an API change but we don't expect it
> > to break anything).
> >
> > Suggested-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> > Signed-off-by: Fabio M. De Francesco <fmdefrancesco@xxxxxxxxx>
> > ---
> >
> > v1->v2: Delete rtw_wx_set_rate() and its association with command
> > SIOCSIWRATE as suggested by Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Does not apply to my tree :(
>
Hi Greg,
It cannot apply to your tree because, while it was waiting for acceptance,
someone else did a large part of the removal of the code related to the
unsupported SIOCSIWRATE and you applied this other patch.
However, the no more necessary iw_operation_mode[] is still in your tree. So
I'm about to send a patch that only removes the above-mentioned array.
Thanks,
Fabio