]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: fw/arc: Remove unused addr variable
authorPaul Burton <paul.burton@mips.com>
Fri, 4 Oct 2019 17:41:02 +0000 (17:41 +0000)
committerPaul Burton <paul.burton@mips.com>
Fri, 4 Oct 2019 18:46:22 +0000 (11:46 -0700)
commita1e2e64d338773110f6c2307cb77baa7c7b3dcf5
treed562418556b4ba0ffc4d6fe564cd1f988c7a418d
parent5626dfdf14a5f9ca746d7328995a45a28c74922f
MIPS: fw/arc: Remove unused addr variable

The addr variable in prom_free_prom_memory() has been unused since
commit c1bf8f49662c ("MIPS: fw: Record prom memory"), leading to a
compiler warning:

  arch/mips/fw/arc/memory.c:163:16:
    warning: unused variable 'addr' [-Wunused-variable]

Fix this by removing the unused variable.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: c1bf8f49662c ("MIPS: fw: Record prom memory")
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
arch/mips/fw/arc/memory.c