staging: rtl8192e: Remove entry .tx_check_stuc.. from struct rtl819x_ops
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 21 Feb 2023 20:53:11 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:04:59 +0000 (17:04 +0100)
commite1ac4b672fd2adcfc4ae19de29ae29e07f701376
tree41a3b6e0f38c409ec9e44a876cf8f59d3b0b5bcd
parent302c42c556ce29470414b66abb00b8f82c3c9bc8
staging: rtl8192e: Remove entry .tx_check_stuc.. from struct rtl819x_ops

Remove entry .tx_check_stuck_handler and replace it with function name
rtl92e_is_tx_stuck. This increases readability of the code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f58cc7b39f4a6bce0606bdd90a706b35b87d8256.1677010997.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h