From: Daeseok Youn Date: Mon, 2 Jun 2014 05:06:53 +0000 (+0900) Subject: staging: dgap: remove bogus null test in dgap_tty_init() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1896 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74c2ddcbbc3ecfc55c246b3da3c5320fe46d8e3;p=pandora-kernel.git staging: dgap: remove bogus null test in dgap_tty_init() - The channels array were set to NULL in dgap_found_board(). - Removes redundant null check for channels array in for loop, if one of the channel cannot be allocated, dgap_tty_init() just returns an error. Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed