From: Yang Yingliang <yangyingliang(a)huawei.com>
commit c87a306a34319313fdd6b041b494f3a64104a514 openEuler-1.0
hulk inclusion
category: bugfix
bugzilla: NA
CVE: NA
----------------------------------------
Fix the compile warning
fs/resctrlfs.c: In function ‘resctrl_mount’:
fs/resctrlfs.c:358:1: warning: label ‘out_mongrp’ defined but not used [-Wunused-label]
out_mongrp:
Signed-off-by: Yang Yingliang <yangyingliang(a)huawei.com>
Signed-off-by: Xin Hao <haoxing990(a)gmail.com>
---
fs/resctrlfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/resctrlfs.c b/fs/resctrlfs.c
index 6d685371181b..386f49062b28 100644
--- a/fs/resctrlfs.c
+++ b/fs/resctrlfs.c
@@ -355,8 +355,8 @@ static struct dentry *resctrl_mount(struct file_system_type
*fs_type,
#ifndef CONFIG_ARM64 /* [FIXME] arch specific code */
if (resctrl_mon_capable)
kernfs_remove(kn_mondata);
-#endif
out_mongrp:
+#endif
if (resctrl_mon_capable)
kernfs_remove(kn_mongrp);
out_info:
--
2.31.0