mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
pti: PTI semantics fix in pti_tty_cleanup.
This patch fixes a semantics issue in the pti_tty_cleanup() routine. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1dae42bff5
commit
1312ba40c0
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ static void pti_tty_cleanup(struct tty_struct *tty)
|
|||
if (pti_tty_data == NULL)
|
||||
return;
|
||||
pti_release_masterchannel(pti_tty_data->mc);
|
||||
kfree(tty->driver_data);
|
||||
kfree(pti_tty_data);
|
||||
tty->driver_data = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue