summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2023-06-19 17:09:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-20 16:14:32 +0200
commitd9902ac3a7cd3008057e8e4cde2688fcddecd68b (patch)
tree0feb7293d6acf0b9c6a7806fc51dcf1a8e9d9e09 /drivers
parent18b89d19238242147c3d00134329bb39b4ed33d1 (diff)
staging: rtl8192e: remove return statement from void function
Remove unnecessary return statement from the void function rtl92e_config_mac(). Issue found by checkpatch. WARNING: void function return statements are not generally useful Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20230619150953.22484-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
index 4d7d5123c831..875540a2079d 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
@@ -268,7 +268,6 @@ void rtl92e_config_mac(struct net_device *dev)
rtl92e_set_bb_reg(dev, pdwArray[i], pdwArray[i + 1],
pdwArray[i + 2]);
}
- return;
}
static void _rtl92e_phy_config_bb(struct net_device *dev, u8 ConfigType)