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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.
	 */