diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-09-24 14:05:25 -0700 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2021-09-27 08:34:54 -0500 |
commit | 9523b33cc31cf8ce703f8facee9fd16cba36d5ad (patch) | |
tree | fb8704316820920ddc05ddd18d199bfa3455c73c /arch/x86/Kconfig.assembler | |
parent | adfc8f9d2f9fefd880abc82cfbf62cbfe6539c97 (diff) | |
download | linux-stable-9523b33cc31cf8ce703f8facee9fd16cba36d5ad.tar.gz linux-stable-9523b33cc31cf8ce703f8facee9fd16cba36d5ad.tar.bz2 linux-stable-9523b33cc31cf8ce703f8facee9fd16cba36d5ad.zip |
NIOS2: setup.c: drop unused variable 'dram_start'
This is a nuisance when CONFIG_WERROR is set, so drop the variable
declaration since the code that used it was removed.
../arch/nios2/kernel/setup.c: In function 'setup_arch':
../arch/nios2/kernel/setup.c:152:13: warning: unused variable 'dram_start' [-Wunused-variable]
152 | int dram_start;
Fixes: 7f7bc20bc41a ("nios2: Don't use _end for calculating min_low_pfn")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Andreas Oetken <andreas.oetken@siemens.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/x86/Kconfig.assembler')
0 files changed, 0 insertions, 0 deletions