From: Jie Liu <jeff.liu@xxxxxxxxxx> Get rid of a redundant error re-assignment in chdir(), which is already initialized to -EBADF before. Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx> --- fs/open.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/open.c b/fs/open.c index 4b3e1ed..327cfb1 100644 --- a/fs/open.c +++ b/fs/open.c @@ -410,7 +410,6 @@ SYSCALL_DEFINE1(fchdir, unsigned int, fd) struct inode *inode; int error = -EBADF; - error = -EBADF; if (!f.file) goto out; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html