ata: ide-sff: don't call free for ide_port in error path
The ide_port is provided by the caller so it's not in the responsibility
of this function to free this memory in case of error.
Actually all callers do the free themselves, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 731909c commit 55d29525146dcd280987dfd565bfd34f08858fb3
@Uwe Kleine-König Uwe Kleine-König authored on 19 Dec 2016
Sascha Hauer committed on 18 Jan 2017
Showing 1 changed file
View
drivers/ata/ide-sff.c