tipc: remove unnecessary variables and conditions
[deliverable/linux.git] / net / tipc / name_table.c
index 09dcd54b04e1d700347b217cc815709dec81e7c6..92a1533af4e0a689f93f30c5b560368f1a548e37 100644 (file)
@@ -148,8 +148,7 @@ static struct publication *publ_create(u32 type, u32 lower, u32 upper,
  */
 static struct sub_seq *tipc_subseq_alloc(u32 cnt)
 {
-       struct sub_seq *sseq = kcalloc(cnt, sizeof(struct sub_seq), GFP_ATOMIC);
-       return sseq;
+       return kcalloc(cnt, sizeof(struct sub_seq), GFP_ATOMIC);
 }
 
 /**
This page took 0.056322 seconds and 5 git commands to generate.