diff options
author | Austin Kim <austindh.kim@gmail.com> | 2019-09-24 08:00:50 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-09-24 09:40:19 -0700 |
commit | 88d32d3983e72f2a7de72a49b701e2529c48e9c1 (patch) | |
tree | e8aaee8fab45be4a5afb64b216dc5eaf8c421c26 /fs/ceph/ceph_frag.c | |
parent | 6f4ff81a4602dcfba436c6e2307d61ce9e9f652c (diff) | |
download | linux-88d32d3983e72f2a7de72a49b701e2529c48e9c1.tar.bz2 |
xfs: avoid unused to_mp() function warning
to_mp() was first introduced with the following commit:
'commit 801cc4e17a34c ("xfs: debug mode forced buffered write failure")'
But the user of to_mp() was removed by below commit:
'commit f8c47250ba46e ("xfs: convert drop_writes to use the errortag
mechanism")'
So kernel build with clang throws below warning message:
fs/xfs/xfs_sysfs.c:72:1: warning: unused function 'to_mp' [-Wunused-function]
to_mp(struct kobject *kobject)
Hence to_mp() might be removed safely to get rid of warning message.
Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/ceph/ceph_frag.c')
0 files changed, 0 insertions, 0 deletions