diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-01-06 17:32:07 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-01-08 11:01:59 +1100 |
commit | baa45b17101c5375be031edb863e94a79c75b86c (patch) | |
tree | 25bd8fa6377e0696aaf9724990c40a6fad1536db /module-common.c | |
parent | e44acde2f89e72139a44bc2db8183286ba5d4e07 (diff) |
spapr/xive: remove redundant check in spapr_match_nvt()
spapr_match_nvt() is a XIVE operation and is used by the machine to
look for a matching target when an event notification is being
delivered. An assert checks that spapr_match_nvt() is called only when
the machine has selected the XIVE interrupt mode but it is redundant
with the XIVE_PRESENTER() dynamic cast.
Apply the cast to spapr->active_intc and remove the assert.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200106163207.4608-1-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions