mips: cacheinfo: Remove unnecessary increment of level
authorSouptick Joarder <jrdr.linux@gmail.com>
Sat, 16 Jan 2021 08:40:00 +0000 (14:10 +0530)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 Jan 2021 20:48:23 +0000 (21:48 +0100)
commit5b2d6d2d602068ae0568f990e850ad80e1f701d3
treee10dabee4b8204dc7db1a8e91d23d044ba6cf94a
parent50886234e846bbf2cbf14a86c727e5fc309fdf25
mips: cacheinfo: Remove unnecessary increment of level

kernel test robot throws below warning ->

arch/mips/kernel/cacheinfo.c:112:3: warning: Variable 'level' is
modified but its new value is never used. [unreadVariable]

Remove unnecessary increment of level at the end.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/cacheinfo.c