Commit d9902ac3 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman
Browse files

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: default avatarMichael Straube <straube.linux@gmail.com>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230619150953.22484-4-straube.linux@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18b89d19
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)