staging: bcm: Remove unneeded set a variable
authorDaeseok Youn <daeseok.youn@gmail.com>
Thu, 27 Feb 2014 11:10:02 +0000 (20:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 21:07:11 +0000 (13:07 -0800)
bClassificationSucceed is initialized with "false",
do not need to set "false" again.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Qos.c

index 0727599bf5fa8ec63b47005d1b7ca5abf721f364..ead57b4237918a14974c32d9a8e2582048b9f2cb 100644 (file)
@@ -222,10 +222,7 @@ static USHORT      IpVersion4(struct bcm_mini_adapter *Adapter,
 
                //Checking classifier validity
                if (!pstClassifierRule->bUsed || pstClassifierRule->ucDirection == DOWNLINK_DIR)
-               {
-                       bClassificationSucceed = false;
                        break;
-               }
 
                BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "is IPv6 check!");
                if (pstClassifierRule->bIpv6Protocol)