aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 94a7fcee0624..c70eabd6d179 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -565,8 +565,6 @@ static int nfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
565 } 565 }
566 } 566 }
567 unlock_kernel(); 567 unlock_kernel();
568 if (desc->error < 0)
569 return desc->error;
570 if (res < 0) 568 if (res < 0)
571 return res; 569 return res;
572 return 0; 570 return 0;