From: Dan Carpenter Date: Sun, 2 Dec 2012 09:43:13 +0000 (-0300) Subject: [media] mantis: cleanup NULL checking in mantis_ca_exit() X-Git-Tag: v3.9-rc1~93^2~331 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6ca29db8b1f213de880b10ac28aed0a19c1d4a;p=pandora-kernel.git [media] mantis: cleanup NULL checking in mantis_ca_exit() Smatch complainst that the call to mantis_evmgr_exit() dereferences "ca" but then we check it for NULL on the next line. I've moved the NULL check forward to avoid that. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed