brcm80211: remove an unneeded NULL check
[deliverable/linux.git] / drivers / net / wireless / brcm80211 / brcmsmac / phy / phy_n.c
index 13b261517cce53d130235b43ce62bbfbe01e00ee..3667181464184bc3293f9241f8ccc10d3d9323ab 100644 (file)
@@ -14358,7 +14358,7 @@ void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
 
        wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
 
-       if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
+       if (pi->sh && (pi->sh->_rifs_phy != rifs))
                pi->sh->_rifs_phy = rifs;
 }
 
This page took 0.042635 seconds and 5 git commands to generate.