Skip to content
Commit 9bc65970 authored by yu kuai's avatar yu kuai Committed by Moritz Fischer
Browse files

fpga: dfl: afu: remove set but not used variable 'afu'



Fixes gcc '-Wunused-but-set-variable' warning:

drivers/fpga/dfl-afu-main.c: In function ‘afu_dev_destroy’:
drivers/fpga/dfl-afu-main.c:816:18: warning: variable ‘afu’
set but not used [-Wunused-but-set-variable]

It is never used, and so can be removed.

Acked-by: default avatarWu Hao <hao.wu@intel.com>
Signed-off-by: default avataryu kuai <yukuai3@huawei.com>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
parent 8082c51a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment