提交 1312ba40 编写于 作者: J J Freyensee 提交者: Greg Kroah-Hartman

pti: PTI semantics fix in pti_tty_cleanup.

This patch fixes a semantics issue in the pti_tty_cleanup()
routine.
Signed-off-by: NJ Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 1dae42bf
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册