commit | b512353c15fe7665893e92e0c989c088505a37b8 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon May 02 13:49:28 2016 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed May 04 16:29:51 2016 +0200 |
tree | df61ae58591dfa47a96a2fd2966caa0f7a1e6da4 | |
parent | 5ff04fe5659f78c0450cc6858b12bba9e4049578 [diff] |
s390/3270: fix view reference counting The tty3270_close function set tty->driver_data to NULL after the open count dropped to zero but tty3270_cleanup still needs the pointer to the tty3270 view to drop the reference count. Move the clearing of tty->driver_data to tty3270_cleanup and drop the unnecessary tty_port_tty_set calls in tty3270_install. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>