Jiri Slaby 96317e9e2a tty: vt, finish looping on duplicate
When the console is already registered, stop crawling the
registered_con_driver array and return an error immediatelly.

This makes the code more obvious. And we do not need to initialize
retval anymore.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-03 15:59:15 -07:00
..
2016-05-03 15:59:15 -07:00
2016-05-01 13:22:54 -07:00
2016-05-01 13:22:54 -07:00
2016-05-01 13:22:54 -07:00
2016-04-30 09:26:55 -07:00
2016-04-30 09:26:55 -07:00
2016-03-07 16:11:14 -08:00
2016-04-30 09:26:55 -07:00
2016-02-14 14:36:04 -08:00