ipv4: coding style: comparison for equality with NULL
[deliverable/linux.git] / net / ipv4 / ping.c
index 344e7cdfb8d40a91b3d8fd0eff0da96a14370922..2dcd2e60df643690db364e4a7fc674ceb2a18956 100644 (file)
@@ -516,7 +516,7 @@ void ping_err(struct sk_buff *skb, int offset, u32 info)
                 ntohs(icmph->un.echo.sequence));
 
        sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id));
-       if (sk == NULL) {
+       if (!sk) {
                pr_debug("no socket, dropping\n");
                return; /* No socket for error */
        }
This page took 0.038068 seconds and 5 git commands to generate.