diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-05-22 15:59:48 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-05-22 15:59:48 +1000 |
commit | 3768f6985700106e90eca87d814dc08e609a9969 (patch) | |
tree | f95741231c8900022a186532881b3662e1b08a34 /fs/xfs/xfs_trace.c | |
parent | 4136e38af728eddcab2e51aecde28e94d0782b9b (diff) | |
download | linux-3768f6985700106e90eca87d814dc08e609a9969.tar.bz2 |
xfs: clean up state variable usage in xfs_attr_node_remove_attr
The state variable is now a local variable pointing to a heap
allocation, so we don't need to zero-initialize it, nor do we need the
conditional to decide if we should free it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trace.c')
0 files changed, 0 insertions, 0 deletions