X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=7a4f61aa05f8a63697be13231d69316ef5c365a9;hb=faec2f7b96b555055d0aa6cc6b83a537270bed52;hp=9f1072836c8ea5c940c916d8236365a26c78da84;hpb=1ef43204f4bd24dcd3156185b19b31b6b4151ae9;p=linux-2.6-omap-h63xx.git diff --git a/fs/filesystems.c b/fs/filesystems.c index 9f1072836c8..7a4f61aa05f 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c @@ -12,7 +12,6 @@ #include #include #include -#include /* for 'current' */ #include /* @@ -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);