Thread (14 messages) 14 messages, 4 authors, 2021-08-30

Re: [PATCH 0/3] staging: r8188eu: cleanup c2h_handler code

From: Phillip Potter <phil@philpotter.co.uk>
Date: 2021-08-29 23:00:02
Also in: lkml

On Sun, 29 Aug 2021 at 13:48, Fabio M. De Francesco
[off-list ref] wrote:
On Saturday, August 28, 2021 11:24:50 PM CEST Phillip Potter wrote:
quoted
This small patch set cleans up the c2h_handler code in the HAL layer
of the driver. In r8188eu, this field of struct hal_ops, is not even
used, so dependent code has always returned _FAIL. For this reason, we
should remove this function pointer field, and the wrapper function
which checks it. This is done in stages by this set, and helps get
the driver closer to the pointer where the HAL layer is
deleted/integrated as necessary and no longer a separate entity.

Phillip Potter (3):
  staging: r8188eu: remove c2h_handler field from struct hal_ops
  staging: r8188eu: simplify c2h_evt_hdl function
  staging: r8188eu: remove rtw_hal_c2h_handler function

 drivers/staging/r8188eu/core/rtw_cmd.c     | 23 +++-------------------
 drivers/staging/r8188eu/hal/hal_intf.c     |  9 ---------
 drivers/staging/r8188eu/include/hal_intf.h |  4 ----
 3 files changed, 3 insertions(+), 33 deletions(-)

--
2.31.1
Dear Philip,

You work looks good (especially after having clarified a couple of minor doubts
I had expressed in another message). So, the entire series is...

Acked-by: Fabio M. De Francesco <redacted>

Regards,

Fabio
Dear Fabio,

Thanks very much for the review and Acked-by, much appreciated.

Regards,
Phil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help