]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/filesystems.c
IB/sa: Track multicast join/leave requests
[linux-2.6-omap-h63xx.git] / fs / filesystems.c
index 9f1072836c8ea5c940c916d8236365a26c78da84..7a4f61aa05f8a63697be13231d69316ef5c365a9 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/kmod.h>
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/sched.h>       /* for 'current' */
 #include <asm/uaccess.h>
 
 /*
@@ -69,8 +68,6 @@ int register_filesystem(struct file_system_type * fs)
        int res = 0;
        struct file_system_type ** p;
 
-       if (!fs)
-               return -EINVAL;
        if (fs->next)
                return -EBUSY;
        INIT_LIST_HEAD(&fs->fs_supers);