Commit 2d29dd10 authored by Damien Le Moal's avatar Damien Le Moal

ata: ahci_st: Fix compilation warning

Remove the unused variable dev in st_ahci_probe() to avoid compilation
warning and build failures where CONFIG_WERROR is enabled.

Fixes: 3f74cd04 ("ata: libahci_platform: Parse ports-implemented property in resources getter")
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent e7840a9a
......@@ -144,7 +144,6 @@ static struct scsi_host_template ahci_platform_sht = {
static int st_ahci_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct st_ahci_drv_data *drv_data;
struct ahci_host_priv *hpriv;
int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment