mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[802.11] Remove redundant NULL pointer check after dereference
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1586,9 +1586,6 @@ struct list_head *net80211_probe_finish_all ( struct net80211_probe_ctx *ctx )
|
|||||||
{
|
{
|
||||||
struct list_head *beacons = ctx->beacons;
|
struct list_head *beacons = ctx->beacons;
|
||||||
|
|
||||||
if ( ! ctx )
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
net80211_keep_mgmt ( ctx->dev, ctx->old_keep_mgmt );
|
net80211_keep_mgmt ( ctx->dev, ctx->old_keep_mgmt );
|
||||||
|
|
||||||
if ( ctx->probe )
|
if ( ctx->probe )
|
||||||
|
|||||||
Reference in New Issue
Block a user