Commit 4c0e0149 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

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: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 039879e8
......@@ -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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment