]> git.baikalelectronics.ru Git - kernel.git/commit
arch/parisc/include/asm/pgtable.h: remove unused `old_pte'
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 2 Jun 2020 04:45:33 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Jun 2020 17:59:05 +0000 (10:59 -0700)
commit368a47ce3df5ae0d11bd2aaf7f0ac87f5ff3c5cc
tree508335b5e12ec19aa720efc4ebbf49135903f936
parent3d5a55ed6276a22f5479fe1615cfcfb08eb26d73
arch/parisc/include/asm/pgtable.h: remove unused `old_pte'

parisc's set_pte_at() macro has set-but-not-used variable:

  include/linux/pgtable.h: In function 'pte_clear_not_present_full':
  arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/include/asm/pgtable.h