tipc: remove pointless check for NULL prior to kfree
[deliverable/linux.git] / net / tipc / name_distr.c
index 376a30b9fd72e0511c07c58e0aff6dfb52aad0c1..a6c989fd4988e198d2217e1ac61a01a15cf93348 100644 (file)
@@ -240,9 +240,7 @@ static void node_is_down(struct publication *publ)
                    publ->type, publ->lower, publ->node, publ->ref, publ->key);
        }
 
-       if (p) {
-               kfree(p);
-       }
+       kfree(p);
 }
 
 /**
This page took 0.04378 seconds and 5 git commands to generate.