]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: the bcnhead parameter is always 0
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Jul 2022 17:10:00 +0000 (19:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jul 2022 08:06:45 +0000 (10:06 +0200)
commite42f37da63a2223690ec561a5f7cc3dcd226ef50
tree5217905de6c2d35e639fb09f29f3e3a34a2e3392
parent904086bc21c1bffe2343e2cb558624e3b24d0d58
staging: r8188eu: the bcnhead parameter is always 0

The only caller of efuse_read_phymap_from_txpktbuf sets bcnhead to 0.
Remove this function parameter and simplify the function body.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220709171000.180481-15-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c