Commit 6c67631a authored by Solomon Tan's avatar Solomon Tan Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Remove unnecessary int typecast



This patch gets rid of the following error from checkpatch.pl:
WARNING: Unnecessary typecast of c90 int constant.

Signed-off-by: default avatarSolomon Tan <solomonbstoner@protonmail.ch>
Link: https://lore.kernel.org/r/YlxGTMBsLqdOIrpC@ArchDesktop


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b5485fe7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -659,8 +659,8 @@ static int r8711_wx_set_freq(struct net_device *dev,

/* If setting by frequency, convert to a channel */
	if ((fwrq->e == 1) &&
	  (fwrq->m >= (int) 2.412e8) &&
	  (fwrq->m <= (int) 2.487e8)) {
	  (fwrq->m >= 241200000) &&
	  (fwrq->m <= 248700000)) {
		int f = fwrq->m / 100000;
		int c = 0;