s390x: remove double compat statement
commit765cca0533ca3031f0cd1222eff187b330b527e6
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 10 Jan 2017 13:44:31 +0000 (10 14:44 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 20 Jan 2017 08:48:09 +0000 (20 09:48 +0100)
treed9f1bc4d1aea1ee5161da47ea39d965c67d4baf2
parent0f6bcf68a99efdc531b209551f2b760b0bdcc554
s390x: remove double compat statement

We chain our compat handler via the CCW_COMPAT macros and via the
class_init function. (e.g. ccw_machine_2_7_class_options calls
ccw_machine_2_8_class_options). As all class_init functions in that
chain call SET_MACHINE_COMPAT for their compat settings, and
SET_MACHINE_COMPAT will append there is no need to do that again.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio-ccw.c