ipv4: coding style: comparison for inequality with NULL
[deliverable/linux.git] / net / ipv4 / inet_hashtables.c
index 0fb841b9d83409c133d20d2144cc2edcef5a31c5..d4630bf2d9aad1fd9070a11323b1cd0f7c0b9949 100644 (file)
@@ -64,7 +64,7 @@ struct inet_bind_bucket *inet_bind_bucket_create(struct kmem_cache *cachep,
 {
        struct inet_bind_bucket *tb = kmem_cache_alloc(cachep, GFP_ATOMIC);
 
-       if (tb != NULL) {
+       if (tb) {
                write_pnet(&tb->ib_net, net);
                tb->port      = snum;
                tb->fastreuse = 0;
This page took 0.025536 seconds and 5 git commands to generate.