summaryrefslogtreecommitdiff
path: root/fs/exofs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exofs/namei.c')
-rw-r--r--fs/exofs/namei.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/exofs/namei.c b/fs/exofs/namei.c
index 09a6bb1ad..994e078da 100644
--- a/fs/exofs/namei.c
+++ b/fs/exofs/namei.c
@@ -80,9 +80,6 @@ static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
struct inode *inode;
int err;
- if (!new_valid_dev(rdev))
- return -EINVAL;
-
inode = exofs_new_inode(dir, mode);
err = PTR_ERR(inode);
if (!IS_ERR(inode)) {