Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[802.11] Remove redundant NULL pointer check after dereference
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 21, 2017
1 parent eb6acab commit 9b58115
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/net/80211/net80211.c
Expand Up @@ -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 )
Expand Down

0 comments on commit 9b58115

Please sign in to comment.