diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-10-30 18:33:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-31 09:09:02 +0100 |
commit | 721d7f496a0602d061bd127bd88de7e70181f521 (patch) | |
tree | 8c509c74dd36f6be1726e00c73856e1192ba6726 /.cocciconfig | |
parent | 5998e3192274da5fd9521b1019cc62b5ea2283b7 (diff) | |
download | linux-721d7f496a0602d061bd127bd88de7e70181f521.tar.bz2 |
staging: r8188eu: make on_action_public static void
The on_action_public function is called only by OnAction. This function
also lives in rtw_mlme_ext.c and does not check the return value from
on_action_public.
We can make on_action_public a static void function.
The ret variable is no longer needed if we don't return a value. It can
be removed.
Reported-by: kernel test robot <lkp@intel.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20221030173326.1588647-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions