xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Feb 2021 17:30:10 +0000 (18:30 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 3 Feb 2021 19:31:14 +0000 (20:31 +0100)
commitf69e8091c4a2ae291e1f55225e8116fef05dc156
treed450b3bca033b1ea825893871a59a41022dc66aa
parentf736d93d76d3e97d6986c6d26c8eaa32536ccc5c
xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl

The mp variable in xfs_file_compat_ioctl is only used when
BROKEN_X86_ALIGNMENT is define.  Remove it and just open code the
dereference in a few places.

Link: https://lore.kernel.org/r/20210203173009.462205-1-christian.brauner@ubuntu.com
Fixes: f736d93d76d3 ("xfs: support idmapped mounts")
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
fs/xfs/xfs_ioctl32.c