diff options
author | Michael Brown <mcb30@ipxe.org> | 2017-03-21 14:01:08 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2017-03-21 14:01:08 +0200 |
commit | 9b581158b5f1aaddd70eec5c303a2ad94a244f40 (patch) | |
tree | f644081a24cd919233993d065cd59c864a210a0f | |
parent | eb6acabc8f85d4f4e3c73a56b0e6372da01b5bf5 (diff) | |
download | ipxe-9b581158b5f1aaddd70eec5c303a2ad94a244f40.tar.gz |
[802.11] Remove redundant NULL pointer check after dereference
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r-- | src/net/80211/net80211.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/80211/net80211.c b/src/net/80211/net80211.c index 62912741f..482000102 100644 --- a/src/net/80211/net80211.c +++ b/src/net/80211/net80211.c @@ -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 ) |