ssi: Remove SSI_SLAVE_FROM_QDEV() macro

There are no usages left of this legacy cast. Delete.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[AF: Rename SSISlave parent field]
Signed-off-by: Andreas Färber <afaerber@suse.de>

ssi: Rename parent field
This commit is contained in:
Peter Crosthwaite 2014-02-11 16:30:10 -08:00 committed by Andreas Färber
parent 7c77b654c5
commit 1f760d5f2b

View File

@ -56,13 +56,12 @@ typedef struct SSISlaveClass {
} SSISlaveClass;
struct SSISlave {
DeviceState qdev;
DeviceState parent_obj;
/* Chip select state */
bool cs;
};
#define SSI_SLAVE_FROM_QDEV(dev) DO_UPCAST(SSISlave, qdev, dev)
#define FROM_SSI_SLAVE(type, dev) DO_UPCAST(type, ssidev, dev)
extern const VMStateDescription vmstate_ssi_slave;