xfs: Remove unused function xrep_dir_self_parent
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 24 Apr 2024 02:06:38 +0000 (10:06 +0800)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 24 Apr 2024 07:04:44 +0000 (12:34 +0530)
commit08e012a62de877e77d7d44d5bddace63d760741b
tree60f8ee70d5f62ee0e26c0405f9cd1ef20625322d
parent4b0bf86c179775c882fed7ff5db4a147b3f7f94a
xfs: Remove unused function xrep_dir_self_parent

The function are defined in the dir_repair.c file, but not called
elsewhere, so delete the unused function.

fs/xfs/scrub/dir_repair.c:186:1: warning: unused function 'xrep_dir_self_parent'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8867
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/scrub/dir_repair.c