fs/ext2/namei.c: remove unnecessary new_valid_dev() check
[karo-tx-linux.git] / fs / ext2 / namei.c
index b4841e3..3267a80 100644 (file)
@@ -143,9 +143,6 @@ static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode,
        struct inode * inode;
        int err;
 
-       if (!new_valid_dev(rdev))
-               return -EINVAL;
-
        err = dquot_initialize(dir);
        if (err)
                return err;