mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
hw/usb/hcd-xhci-nec: Remove unused XHCINecState::flags field
Commit b9599519a0
("hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST
flag") remove the last use of XHCINecState::flags but neglected
to remove it; do that now.
Reported-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20241127122812.89487-1-philmd@linaro.org>
This commit is contained in:
parent
bd8760dcfd
commit
2a8c16e423
1 changed files with 1 additions and 4 deletions
|
@ -30,10 +30,8 @@
|
||||||
OBJECT_DECLARE_SIMPLE_TYPE(XHCINecState, NEC_XHCI)
|
OBJECT_DECLARE_SIMPLE_TYPE(XHCINecState, NEC_XHCI)
|
||||||
|
|
||||||
struct XHCINecState {
|
struct XHCINecState {
|
||||||
/*< private >*/
|
|
||||||
XHCIPciState parent_obj;
|
XHCIPciState parent_obj;
|
||||||
/*< public >*/
|
|
||||||
uint32_t flags;
|
|
||||||
uint32_t intrs;
|
uint32_t intrs;
|
||||||
uint32_t slots;
|
uint32_t slots;
|
||||||
};
|
};
|
||||||
|
@ -51,7 +49,6 @@ static void nec_xhci_instance_init(Object *obj)
|
||||||
XHCIPciState *pci = XHCI_PCI(obj);
|
XHCIPciState *pci = XHCI_PCI(obj);
|
||||||
XHCINecState *nec = NEC_XHCI(obj);
|
XHCINecState *nec = NEC_XHCI(obj);
|
||||||
|
|
||||||
pci->xhci.flags = nec->flags;
|
|
||||||
pci->xhci.numintrs = nec->intrs;
|
pci->xhci.numintrs = nec->intrs;
|
||||||
pci->xhci.numslots = nec->slots;
|
pci->xhci.numslots = nec->slots;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue