ipv4: coding style: comparison for equality with NULL
[deliverable/linux.git] / net / ipv4 / udp_diag.c
index 2dbfc1f1f7b3c96a2b0195fc9a3be1c1109d0bbe..b763c39ae1d734621a5f6872f9d41d442f476c92 100644 (file)
@@ -58,7 +58,7 @@ static int udp_dump_one(struct udp_table *tbl, struct sk_buff *in_skb,
                goto out_nosk;
 
        err = -ENOENT;
-       if (sk == NULL)
+       if (!sk)
                goto out_nosk;
 
        err = sock_diag_check_cookie(sk, req->id.idiag_cookie);
This page took 0.033777 seconds and 5 git commands to generate.