diff options
| author | Chandan Babu R <[email protected]> | 2021-01-27 08:35:14 -0800 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-02-01 09:44:24 -0800 |
| commit | 560ab6c0d12ebccabb83638abe23a7875b946f9a (patch) | |
| tree | 37ec78fd059d79e920a92295f1406b3dcb54d657 /tools/perf/scripts/python | |
| parent | 4533fc631547213bd03fbdf0a96dd8eb6807d3a7 (diff) | |
xfs: Fix 'set but not used' warning in xfs_bmap_compute_alignments()
With both CONFIG_XFS_DEBUG and CONFIG_XFS_WARN disabled, the only reference to
local variable "error" in xfs_bmap_compute_alignments() gets eliminated during
pre-processing stage of the compilation process. This causes the compiler to
generate a "set but not used" warning.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions