summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/st-asc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
index 4f5caa38..21e6e84 100644
--- a/drivers/tty/serial/st-asc.c
+++ b/drivers/tty/serial/st-asc.c
@@ -753,7 +753,6 @@ static int asc_serial_remove(struct platform_device *pdev)
{
struct uart_port *port = platform_get_drvdata(pdev);
- platform_set_drvdata(pdev, NULL);
return uart_remove_one_port(&asc_uart_driver, port);
}
OpenPOWER on IntegriCloud