]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgnc: ch->ch_bd is already assigned to bd variable
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 14 Mar 2017 02:05:32 +0000 (11:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 03:20:33 +0000 (11:20 +0800)
commitf05848f9d12a071de8894325b45fc4345ba562c6
treeb821778507d6133828ae651bb0ca43a4ef719e4d
parentf58f7548263578f47365ac1a096f07e6abb6b00e
staging: dgnc: ch->ch_bd is already assigned to bd variable

The bd variables in functions are already assigned from
ch->ch_bd but it is not used in those functions except checking NULL.

The ch->ch_bd could be replaced with bd variable.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c