diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-12-17 08:50:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 14:42:45 +0100 |
commit | f1d31743a195155c319a00d73299ff1630a532c4 (patch) | |
tree | 6e464683ebf7912d6a2e2b1cd7339806fa695ac2 /scripts | |
parent | serdev: make use of printk extension %pe for better error messages (diff) | |
download | linux-f1d31743a195155c319a00d73299ff1630a532c4.tar.xz linux-f1d31743a195155c319a00d73299ff1630a532c4.zip |
tty: drop useless variable initialisation in tty_kopen()
The driver variable is assigned to unconditionally and not used before.
So there is no need to explicitly initialize it at the start of
tty_kopen().
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20191217075040.8020-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions