diff options
author | Darrick J. Wong <[email protected]> | 2022-05-22 15:59:48 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2022-05-22 15:59:48 +1000 |
commit | 3768f6985700106e90eca87d814dc08e609a9969 (patch) | |
tree | f95741231c8900022a186532881b3662e1b08a34 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 4136e38af728eddcab2e51aecde28e94d0782b9b (diff) |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Allison Henderson <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions