summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2017-03-21 13:01:08 +0100
committerMichael Brown2017-03-21 13:01:08 +0100
commit9b581158b5f1aaddd70eec5c303a2ad94a244f40 (patch)
treef644081a24cd919233993d065cd59c864a210a0f /src/net
parent[sis900] Remove extraneous memset() with incorrect length (diff)
downloadipxe-9b581158b5f1aaddd70eec5c303a2ad94a244f40.tar.gz
ipxe-9b581158b5f1aaddd70eec5c303a2ad94a244f40.tar.xz
ipxe-9b581158b5f1aaddd70eec5c303a2ad94a244f40.zip
[802.11] Remove redundant NULL pointer check after dereference
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/80211/net80211.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/80211/net80211.c b/src/net/80211/net80211.c
index 62912741..48200010 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 )