aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/airo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 7fe0a61091a6..d08d2275ad5f 100644
--- a/drivers/net/wireless/airo.c
+++ b/drivers/net/wireless/airo.c
@@ -2740,8 +2740,6 @@ static int airo_networks_allocate(struct airo_info *ai)
2740 2740
2741static void airo_networks_free(struct airo_info *ai) 2741static void airo_networks_free(struct airo_info *ai)
2742{ 2742{
2743 if (!ai->networks)
2744 return;
2745 kfree(ai->networks); 2743 kfree(ai->networks);
2746 ai->networks = NULL; 2744 ai->networks = NULL;
2747} 2745}