From e74c2ddcbbc3ecfc55c246b3da3c5320fe46d8e3 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Mon, 2 Jun 2014 14:06:53 +0900 Subject: [PATCH] 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-format-patch failed