Skip to content
Commit 9523b33c authored by Randy Dunlap's avatar Randy Dunlap Committed by Dinh Nguyen
Browse files

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: 7f7bc20b ("nios2: Don't use _end for calculating min_low_pfn")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reviewed-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Cc: Andreas Oetken <andreas.oetken@siemens.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent adfc8f9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment