Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8187se: fix if statement

I removed a misplace semicolon. It is clear from the indentation that
TxPwrTracking87SE() was only supposed to be called if CheckTxPwrTracking()
returned true.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Dan Carpenter and committed by
Greg Kroah-Hartman
cffd4e16 c22202fa

+1 -1
+1 -1
drivers/staging/rtl8187se/r8180_core.c
··· 2566 2566 // Tx Power Tracking on 87SE. 2567 2567 #ifdef TX_TRACK 2568 2568 //if( priv->bTxPowerTrack ) //lzm mod 080826 2569 - if( CheckTxPwrTracking((struct net_device *)data)); 2569 + if (CheckTxPwrTracking((struct net_device *)data)) 2570 2570 TxPwrTracking87SE((struct net_device *)data); 2571 2571 #endif 2572 2572