1
0
Files
linux/drivers
Daeseok Youn 3bd0010a18 staging: dgnc: remove redundant NULL check for brd
the "brd" value cannot be NULL in dgnc_finalize_board_init().
Because "brd" as a parameter of this function was already
checked for NULL.

the dgnc_finalize_board_init() as a static function was called
only from dgnc_found_board() function and brd->magic value
was assigned once in dgnc_found_board(). So it doesn't need to
check for DGNC_BOARD_MAGIC value.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-15 19:13:25 +02:00
..
2016-08-15 16:41:46 +02:00
2016-08-07 14:41:02 -06:00
2016-08-09 13:42:41 +03:00
2016-08-09 10:17:42 -07:00
2016-08-02 19:35:40 -04:00