]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgnc: remove too many traverse pointer
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 1 Apr 2016 08:28:22 +0000 (17:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2016 19:41:24 +0000 (12:41 -0700)
commita21c1bc75c6016a93bca141026ccbbd004ba8c0e
tree2eb146746522c9dbf1550151a4013d53a0efa04c
parent2557ee4467a7d8d115cbdf3d822090a0cc08c612
staging: dgnc: remove too many traverse pointer

The "ch->ch_bd" is already assined to "bd" but this is only
for checking null or MAGIC number.
in the dgnc_tty_ioctl function, bd can be used for referencing
to board_ops structure.

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