drivers/net: Remove pointless checks for NULL prior to calling kfree()
[deliverable/linux.git] / drivers / net / s2io.c
index d303d162974f9caedf905bd603c583a8b6c538b9..5ea897714a14b16fa169f4e4ffb9d12ba23b1190 100644 (file)
@@ -705,8 +705,7 @@ static void free_shared_mem(struct s2io_nic *nic)
                        }
                        kfree(mac_control->rings[i].ba[j]);
                }
-               if (mac_control->rings[i].ba)
-                       kfree(mac_control->rings[i].ba);
+               kfree(mac_control->rings[i].ba);
        }
 #endif
 
This page took 0.028261 seconds and 5 git commands to generate.