diff options
author | Huacai Chen <[email protected]> | 2024-03-19 15:50:34 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-03-19 15:50:34 +0800 |
commit | 82bf60a6fed806d57e284a1fb40dbc1ad5097611 (patch) | |
tree | bbf8d4fffdc751d28b3d8aa7cdf63e25f078b448 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | |
parent | d42ab9af605ee406ec339e5e80a1c3a708637fd6 (diff) |
LoongArch: Remove superfluous flush_dcache_page() definition
LoongArch doesn't have cache aliases, so flush_dcache_page() is a no-op.
There is a generic implementation for this case in include/asm-generic/
cacheflush.h. So remove the superfluous flush_dcache_page() definition,
which also silences such build warnings:
In file included from crypto/scompress.c:12:
include/crypto/scatterwalk.h: In function 'scatterwalk_pagedone':
include/crypto/scatterwalk.h:76:30: warning: variable 'page' set but not used [-Wunused-but-set-variable]
76 | struct page *page;
| ^~~~
crypto/scompress.c: In function 'scomp_acomp_comp_decomp':
>> crypto/scompress.c:174:38: warning: unused variable 'dst_page' [-Wunused-variable]
174 | struct page *dst_page = sg_page(req->dst);
|
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Suggested-by: Barry Song <[email protected]>
Acked-by: Barry Song <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h')
0 files changed, 0 insertions, 0 deletions