ppc/xics: remove useless if condition
commite0f7110acaaa222591e5f025953934c70c5ae15f
authorCédric Le Goater <clg@kaod.org>
Fri, 10 Nov 2017 15:20:08 +0000 (10 15:20 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 14 Dec 2017 22:49:23 +0000 (15 09:49 +1100)
tree4324831abca9f468557376cc4745644980e32016
parentc4a2e3a9709aa7c84def7bc4bfbdcaf37ccf7527
ppc/xics: remove useless if condition

The previous code section uses a 'first < 0' test and returns. Therefore,
there is no need to test the 'first' variable against '>= 0' afterwards.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics_spapr.c