mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 09:13:39 +08:00
hw/scsi/megasas: Remove pointless parenthesis
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20201011195001.3219730-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
50bf0b3d80
commit
ba1da4a7f1
@ -2384,8 +2384,8 @@ static void megasas_scsi_realize(PCIDevice *dev, Error **errp)
|
||||
if (!s->sas_addr) {
|
||||
s->sas_addr = ((NAA_LOCALLY_ASSIGNED_ID << 24) |
|
||||
IEEE_COMPANY_LOCALLY_ASSIGNED) << 36;
|
||||
s->sas_addr |= (pci_dev_bus_num(dev) << 16);
|
||||
s->sas_addr |= (PCI_SLOT(dev->devfn) << 8);
|
||||
s->sas_addr |= pci_dev_bus_num(dev) << 16;
|
||||
s->sas_addr |= PCI_SLOT(dev->devfn) << 8;
|
||||
s->sas_addr |= PCI_FUNC(dev->devfn);
|
||||
}
|
||||
if (!s->hba_serial) {
|
||||
|
Loading…
Reference in New Issue
Block a user