X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=7a4f61aa05f8a63697be13231d69316ef5c365a9;hb=d459094083c3a23b31514bbe31cc3f4c21ed4445;hp=9f1072836c8ea5c940c916d8236365a26c78da84;hpb=2ecc26b87a2b3e8650d3c7fe3fc85a8c73d5560d;p=mv-sheeva.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);