Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / net / caif / cfrfml.c
index 0deabb4..81660f8 100644 (file)
@@ -46,13 +46,10 @@ struct cflayer *cfrfml_create(u8 channel_id, struct dev_info *dev_info,
                                        int mtu_size)
 {
        int tmp;
-       struct cfrfml *this =
-               kzalloc(sizeof(struct cfrfml), GFP_ATOMIC);
+       struct cfrfml *this = kzalloc(sizeof(struct cfrfml), GFP_ATOMIC);
 
-       if (!this) {
-               pr_warn("Out of memory\n");
+       if (!this)
                return NULL;
-       }
 
        cfsrvl_init(&this->serv, channel_id, dev_info, false);
        this->serv.release = cfrfml_release;