Skip to content

Commit d9902ac

Browse files
mistraubegregkh
authored andcommitted
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>
1 parent 18b89d1 commit d9902ac

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ void rtl92e_config_mac(struct net_device *dev)
268268
rtl92e_set_bb_reg(dev, pdwArray[i], pdwArray[i + 1],
269269
pdwArray[i + 2]);
270270
}
271-
return;
272271
}
273272

274273
static void _rtl92e_phy_config_bb(struct net_device *dev, u8 ConfigType)

0 commit comments

Comments
 (0)