X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=7a4f61aa05f8a63697be13231d69316ef5c365a9;hb=c3c94c5a2fb43a654e777f509d5032b0db8ed09f;hp=9f1072836c8ea5c940c916d8236365a26c78da84;hpb=7211bb9b64f17b23834d91fc3d0c1d78671ee9a8;p=powerpc.git diff --git a/fs/filesystems.c b/fs/filesystems.c index 9f1072836c..7a4f61aa05 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);