[patch] staging/rtl8187se: fix if statement

From: Dan Carpenter
Date: Mon Jan 18 2010 - 06:23:59 EST


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@xxxxxxxxx>

--- orig/drivers/staging/rtl8187se/r8180_core.c 2010-01-18 08:27:05.000000000 +0300
+++ devel/drivers/staging/rtl8187se/r8180_core.c 2010-01-18 08:27:40.000000000 +0300
@@ -2566,7 +2566,7 @@ void watch_dog_adaptive(unsigned long da
// Tx Power Tracking on 87SE.
#ifdef TX_TRACK
//if( priv->bTxPowerTrack ) //lzm mod 080826
- if( CheckTxPwrTracking((struct net_device *)data));
+ if (CheckTxPwrTracking((struct net_device *)data))
TxPwrTracking87SE((struct net_device *)data);
#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/