Revision 1235a9cf hw/spapr_llan.c

b/hw/spapr_llan.c
185 185
static int spapr_vlan_init(VIOsPAPRDevice *sdev)
186 186
{
187 187
    VIOsPAPRVLANDevice *dev = (VIOsPAPRVLANDevice *)sdev;
188
    VIOsPAPRBus *bus;
189

  
190
    bus = DO_UPCAST(VIOsPAPRBus, bus, sdev->qdev.parent_bus);
191 188

  
192 189
    qemu_macaddr_default_if_unset(&dev->nicconf.macaddr);
193 190

  

Also available in: Unified diff