summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-06-03 14:57:10 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-06-06 18:33:56 -0700
commitbf31681a305a10e8bf7608fa1ee5b513ff5e48a2 (patch)
tree1f1a3a4cdc42688292b6b5f35d4c84a255410376 /fs/xfs/xfs_ioctl.c
parent7d10bcf0b73444b14b985b2122801eb1794bb219 (diff)
xfs: fix variable state usage
The variable @args is fed to a tracepoint, and that's the only place it's used. This is fine for the kernel, but for userspace, tracepoints are #define'd out of existence, which results in this warning on gcc 11.2: xfs_attr.c: In function ‘xfs_attr_node_try_addname’: xfs_attr.c:1440:42: warning: unused variable ‘args’ [-Wunused-variable] 1440 | struct xfs_da_args *args = attr->xattri_da_args; | ^~~~ Clean this up. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions