[PATCH] fs: 9q: remove unnecessary label "out_err"
From: cgel . zte
Date: Tue Aug 24 2021 - 03:45:13 EST
From: CGEL <ran.xiaokai@xxxxxxxxxx>
due to commit 798b2ae3cd58 ("Merge remote-tracking branch
'file-locks/locks-next'"), label "out_err" should be removed to
avoid build warning.
Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: CGEL <ran.xiaokai@xxxxxxxxxx>
---
fs/9p/vfs_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index 978666530d8e..d2d83163d6b0 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -319,7 +319,7 @@ static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl)
ret = v9fs_file_getlock(filp, fl);
else
ret = -EINVAL;
-out_err:
+
return ret;
}
--
2.25.1