openrisc: mm/init.c: remove unused variable 'end' in paging_init()
authorMike Rapoport <rppt@linux.ibm.com>
Sun, 9 May 2021 09:11:03 +0000 (12:11 +0300)
committerStafford Horne <shorne@gmail.com>
Sun, 9 May 2021 21:22:43 +0000 (06:22 +0900)
commit371dcaee1ade4b1eefd541ae6ee048b5ce15b37c
tree3e2960db8e4be651240052d0dc10361b8d48fb8f
parent4eff124347191d1548eb4e14e20e77513dcbd0fe
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: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/mm/init.c