mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-07 00:59:06 +00:00
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:
parent
039879e8c1
commit
4c0e01496b
1 changed files with 0 additions and 3 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue