]> err.no Git - linux-2.6/blobdiff - net/tipc/name_distr.c
[ARM] 3449/1: [S3C2410] Anubis - fix NAND timings
[linux-2.6] / net / tipc / name_distr.c
index 830f9099904182daa81dc9e2b76151c81570546e..953307a9df1d852c3eac546d9e1d97e728f0df3e 100644 (file)
@@ -168,8 +168,8 @@ void tipc_named_withdraw(struct publication *publ)
 void tipc_named_node_up(unsigned long node)
 {
        struct publication *publ;
-       struct distr_item *item = 0;
-       struct sk_buff *buf = 0;
+       struct distr_item *item = NULL;
+       struct sk_buff *buf = NULL;
        u32 left = 0;
        u32 rest;
        u32 max_item_buf;
@@ -200,7 +200,7 @@ void tipc_named_node_up(unsigned long node)
                            "<%u.%u.%u>\n", tipc_zone(node), 
                            tipc_cluster(node), tipc_node(node));
                        tipc_link_send(buf, node, node);
-                       buf = 0;
+                       buf = NULL;
                }
        }
 exit: