]> asedeno.scripts.mit.edu Git - linux.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)
commitdec5b6c569d2992e550951662ba27576f24924f7
treeb821778507d6133828ae651bb0ca43a4ef719e4d
parent9836a882fe5e028e5734b3ece25b3bc5132350ec
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