diff options
| author | Brian Foster <[email protected]> | 2020-05-08 08:50:52 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-08 08:50:52 -0700 |
| commit | 43dc0aa84ef74e3acd908b6d5eaa8ae15d7ecc8a (patch) | |
| tree | 8d90c1397f5d1be62c0e2364c77c85e7f990c2d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | 6ea670ade207232d7863933bc6a834defe8b0269 (diff) | |
xfs: fix unused variable warning in buffer completion on !DEBUG
The random buffer write failure errortag patch introduced a local
mount pointer variable for the test macro, but the macro is compiled
out on !DEBUG kernels. This results in an unused variable warning.
Access the mount structure through the buffer pointer and remove the
local mount pointer to address the warning.
Fixes: 7376d745473 ("xfs: random buffer write failure errortag")
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions