staging: dgap: remove redundant NULL check in dgap_tty_init()

The brd is already checked by earlier function in dgap_init_one().

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Daeseok Youn 2014-07-09 16:29:58 +09:00 committed by Greg Kroah-Hartman
parent 039879e8c1
commit 4c0e01496b

View File

@ -1363,9 +1363,6 @@ static int dgap_tty_init(struct board_t *brd)
struct cm_t __iomem *cm;
int ret;
if (!brd)
return -EIO;
/*
* Initialize board structure elements.
*/