[PATCH] fixup! ata/ahci: simplify ahci_read_id

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Dec 19 12:39:28 PST 2016


---
 drivers/ata/ahci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index cea031af5a84..b4161059707d 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -207,7 +207,6 @@ static int ahci_read_id(struct ata_port *ata, void *buf)
 {
 	struct ahci_port *ahci = container_of(ata, struct ahci_port, ata);
 	u8 fis[20];
-	int ret;
 
 	memset(fis, 0, sizeof(fis));
 
-- 
2.11.0




More information about the barebox mailing list