[802.11] Remove redundant NULL pointer check after dereference
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
eb6acabc8f
commit
9b581158b5
|
@ -1586,9 +1586,6 @@ struct list_head *net80211_probe_finish_all ( struct net80211_probe_ctx *ctx )
|
|||
{
|
||||
struct list_head *beacons = ctx->beacons;
|
||||
|
||||
if ( ! ctx )
|
||||
return NULL;
|
||||
|
||||
net80211_keep_mgmt ( ctx->dev, ctx->old_keep_mgmt );
|
||||
|
||||
if ( ctx->probe )
|
||||
|
|
Reference in New Issue