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)
commitd4090520cde1f96ad66956ce1b24aa91e5210fa5
tree5217905de6c2d35e639fb09f29f3e3a34a2e3392
parentc337bf6256316be5d74a27f6449363e10fda49a3
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