]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers/misc: ti-st: Remove unneeded variable in st_tty_open
authorzhong jiang <zhongjiang@huawei.com>
Thu, 12 Sep 2019 16:52:27 +0000 (00:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 13:14:37 +0000 (15:14 +0200)
commit8b063441b7417a79b0c27efc401479748ccf8ad1
tree39420467c6c6382978847c66ae4b3d5c2e385bf8
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
drivers/misc: ti-st: Remove unneeded variable in st_tty_open

st_tty_open do not need local variable to store different value,
Hence just remove it.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Link: https://lore.kernel.org/r/1568307147-43468-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_core.c