x86/kaslr: Drop redundant check in store_slot_info()
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 28 Jul 2020 22:57:16 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:17 +0000 (11:08 +0200)
commit46a5b29a4a63a3ba987cbb5467774a4b5787618e
tree3faa87c4a87a36f7fc23303717b775bec735507d
parentd6d0f36c735367ed7cf42b5ba454ba5858e17816
x86/kaslr: Drop redundant check in store_slot_info()

Drop unnecessary check that number of slots is not zero in
store_slot_info, it's guaranteed to be at least 1 by the calculation.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200728225722.67457-16-nivedita@alum.mit.edu
arch/x86/boot/compressed/kaslr.c