commit | 14ad5165117713d521969eff9a25a7692531bb22 | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Wed Jul 06 15:16:44 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 15 19:13:25 2016 +0200 |
tree | 99a1ad3a584ba1883ba7c5589ad787db422c21f7 | |
parent | fb7d94a7582e494a71c3a0b311910f7b179c01d9 [diff] |
staging: dgnc: remove redundant null check in the "brd" was already checked for NULL before calling dgnc_do_remap(). the dgnc_do_remap() function was called only from the dgnc_found_board() and the DGNC_BOARD_MAGIC value was assigned to "brd->magic" in dgcn_found_board(). So it doesn't need to check about magic value. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>