Darrick J. Wong
10930b254d
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 >
Reviewed-by: Dave Chinner <dchinner@redhat.com >
Reviewed-by: Allison Henderson <allison.henderson@oracle.com >
2022-06-15 23:13:32 -07:00
..
2021-10-19 11:45:15 -07:00
2021-06-02 10:48:24 +10:00
2022-05-27 10:21:04 +10:00
2021-11-10 09:37:38 -08:00
2021-10-22 16:00:31 -07:00
2021-10-19 11:45:16 -07:00
2022-04-21 16:46:17 +10:00
2022-04-21 10:46:16 +10:00
2022-06-15 23:13:32 -07:00
2021-06-09 09:34:05 -07:00
2022-05-22 16:00:26 +10:00
2022-05-22 16:00:26 +10:00
2020-09-15 20:52:42 -07:00
2022-06-15 23:13:32 -07:00
2022-06-15 23:13:32 -07:00
2019-11-07 13:00:53 -08:00
2020-05-13 15:32:45 -07:00
2022-04-11 04:11:19 +00:00
2021-10-19 11:45:16 -07:00
2022-04-28 10:24:59 -07:00
2022-04-21 10:46:09 +10:00
2021-10-19 11:45:15 -07:00
2020-07-28 20:24:14 -07:00
2022-05-27 10:22:56 +10:00
2022-04-21 10:46:33 +10:00
2017-11-02 11:10:55 +01:00
2022-05-22 15:59:34 +10:00
2022-06-15 23:13:32 -07:00
2022-04-21 16:46:17 +10:00
2022-05-23 08:43:46 +10:00
2022-05-09 19:09:07 +10:00
2021-08-19 10:07:15 -07:00
2021-08-19 10:07:15 -07:00
2021-08-19 10:07:15 -07:00
2021-08-19 10:07:15 -07:00
2022-03-14 10:23:17 -07:00
2021-08-19 10:07:14 -07:00
2022-04-13 07:02:07 +00:00
2022-03-14 10:23:17 -07:00
2021-10-14 09:19:33 -07:00
2022-05-11 17:01:23 +10:00
2022-05-09 19:09:07 +10:00
2022-04-21 16:46:17 +10:00
2020-05-13 15:32:45 -07:00
2021-10-22 16:00:31 -07:00
2021-10-19 11:45:16 -07:00
2022-04-21 16:46:17 +10:00
2022-04-21 10:46:24 +10:00
2021-03-25 16:47:50 -07:00
2022-05-04 12:13:53 +10:00
2021-08-19 10:07:14 -07:00
2022-05-04 11:45:50 +10:00
2022-04-13 07:02:44 +00:00
2022-05-22 15:59:48 +10:00
2022-05-27 10:27:19 +10:00
2022-04-28 10:25:42 -07:00
2022-05-11 17:12:09 +10:00
2021-10-22 16:00:31 -07:00
2021-10-19 11:45:16 -07:00
2022-04-28 10:25:59 -07:00
2022-04-28 10:24:59 -07:00
2021-10-22 16:00:31 -07:00
2021-10-19 11:45:16 -07:00
2022-04-28 10:24:38 -07:00
2022-04-28 10:24:38 -07:00
2022-04-12 06:49:41 +10:00
2022-05-04 12:17:18 +10:00
2021-08-19 10:07:13 -07:00
2022-05-04 11:46:21 +10:00
2022-05-22 16:46:38 +10:00
2021-08-19 10:07:14 -07:00
2022-04-28 10:25:59 -07:00
2022-04-28 10:25:59 -07:00
2021-10-19 11:45:16 -07:00
2021-08-19 10:07:12 -07:00
2022-04-11 04:11:18 +00:00