Commit 7ed4a21a authored by Linus Walleij's avatar Linus Walleij Committed by Tejun Heo
Browse files

ata: bf54x: cut drvdata assignment



ata_host_alloc_pinfo() assigns the host pointer to the
struct device * drvdata, do not assign it a second time.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 9bb9a39c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1597,8 +1597,6 @@ static int bfin_atapi_probe(struct platform_device *pdev)
		return -ENODEV;
	}

	platform_set_drvdata(pdev, host);

	return 0;
}