]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: make c2h_evt_read() static
authorMichael Straube <straube.linux@gmail.com>
Fri, 9 Sep 2022 10:02:32 +0000 (12:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Sep 2022 11:56:59 +0000 (13:56 +0200)
commit5d8736148ce2d601b94066d958eacb011ed92112
treeb6e939aff4f0b089335749c9fdaf691dfa813420
parent72dc1db88f9718709c0069ec48b96b0e728a01ee
staging: r8188eu: make c2h_evt_read() static

The function c2h_evt_read() is only used in rtw_cmd.c.
Make it static.

This addresses the TODO item:
* Remove the HAL layer and migrate its functionality into the relevant
  parts of the driver.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220909100232.8305-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/hal/hal_com.c
drivers/staging/r8188eu/include/hal_com.h