]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: remove unused variables from core/rtw_efuse.c
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 15 Jun 2021 22:36:03 +0000 (23:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jun 2021 07:25:29 +0000 (09:25 +0200)
commit97eb284aa2602e59c0d7a4492d380663e128e8d8
tree6ee8c51c76bbc4b72ae3b72a9071b9e85810232d
parentb5a9cf6eef45780c3f1d10198f02ed778345dbd2
staging: rtl8188eu: remove unused variables from core/rtw_efuse.c

Remove set but unused variables from within the file core/rtw_efuse.c
in the function efuse_read_phymap_from_txpktbuf, as they are triggering
kernel test robot warnings. Also, remove the local 'lenc' array as well,
as nothing is done with its values. Keep the two usb_read8 calls
however, as this patch is purely for warnings, not to change behaviour
of the code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210615223607.13863-4-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c