aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2024-01-05 10:32:16 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-24 10:15:53 -0800
commit64af1ab93e315d462d4562907c3c6a0ed4282cde (patch)
tree04c0a7d29d89f846659a6ec59b64bef8e8f6d0b4 /drivers/staging
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-64af1ab93e315d462d4562907c3c6a0ed4282cde.tar.gz
staging: rtl8192e: remove return statement from void function
Remove return statement from the void function _rtl92e_if_check_reset(). Found by checkpatch. WARNING: void function return statements are not generally useful Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20240105093216.13981-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index 6815d18a7919e..7b5d954acf6da 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -909,7 +909,6 @@ static void _rtl92e_if_check_reset(struct net_device *dev)
netdev_info(dev, "%s(): TxResetType is %d, RxResetType is %d\n",
__func__, TxResetType, RxResetType);
}
- return;
}
static void _rtl92e_update_rxcounts(struct r8192_priv *priv, u32 *TotalRxBcnNum,