diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 5888a3d030bd328e513352949be05e9978c85019..1dbfe8903fe050ee865be9de7139882283cf08bb 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1889,15 +1889,6 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) dev_info(&pdev->dev, "SSS flag set, parallel bus scan disabled\n"); } - if (!(hpriv->cap & HOST_CAP_PART)) - host->flags |= ATA_HOST_NO_PART; - - if (!(hpriv->cap & HOST_CAP_SSC)) - host->flags |= ATA_HOST_NO_SSC; - - if (!(hpriv->cap2 & HOST_CAP2_SDS)) - host->flags |= ATA_HOST_NO_DEVSLP; - if (!(hpriv->cap & HOST_CAP_PART)) host->flags |= ATA_HOST_NO_PART;