ovl: Add an alternative type of whiteout
[linux-2.6-microblaze.git] / fs / char_dev.c
index 950b691..6ba0324 100644 (file)
@@ -350,7 +350,7 @@ static struct kobject *cdev_get(struct cdev *p)
        struct module *owner = p->owner;
        struct kobject *kobj;
 
-       if (owner && !try_module_get(owner))
+       if (!try_module_get(owner))
                return NULL;
        kobj = kobject_get_unless_zero(&p->kobj);
        if (!kobj)