diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-11 21:50:01 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-02-20 12:36:19 +0100 |
commit | ba1da4a7f10c4be8831ece6c8a9af54cfc9b559a (patch) | |
tree | 95cdeb49e97cd6df61fb61503529b138391c4242 /hw | |
parent | 50bf0b3d809f42ed8b70579b6b690c15bce53475 (diff) | |
download | qemu-ba1da4a7f10c4be8831ece6c8a9af54cfc9b559a.zip qemu-ba1da4a7f10c4be8831ece6c8a9af54cfc9b559a.tar.gz qemu-ba1da4a7f10c4be8831ece6c8a9af54cfc9b559a.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/scsi/megasas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c index 1a5fc58..5bfc92f 100644 --- a/hw/scsi/megasas.c +++ b/hw/scsi/megasas.c @@ -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) { |