Skip to content
Commit 371dcaee authored by Mike Rapoport's avatar Mike Rapoport Committed by Stafford Horne
Browse files

openrisc: mm/init.c: remove unused variable 'end' in paging_init()



A build with W=1 enabled produces the following warning:

  CC      arch/openrisc/mm/init.o
arch/openrisc/mm/init.c: In function 'paging_init':
arch/openrisc/mm/init.c:131:16: warning: variable 'end' set but not used [-Wunused-but-set-variable]
  131 |  unsigned long end;
      |                ^~~

Remove the unused variable 'end'.

Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent 4eff1243
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