x86/mm: no-one passes a NULL domain to init_xen_l4_slots()
authorJan Beulich <jbeulich@suse.com>
Mon, 18 May 2020 15:13:38 +0000 (17:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 May 2020 15:13:38 +0000 (17:13 +0200)
commit5dc999d711a75e1a83d4b21da203d3c3197ec0e0
tree17c5eee3f402946677c0f04feb9197c1a86fe826
parent97fb0253e6c2f2221bfd0895b7ffe3a99330d847
x86/mm: no-one passes a NULL domain to init_xen_l4_slots()

Drop the NULL checks - they've been introduced by commit 8d7b633ada
("x86/mm: Consolidate all Xen L4 slot writing into
init_xen_l4_slots()") without giving a reason; I'm told this was done
in anticipation of the function potentially getting called with a NULL
argument down the road.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/mm.c