From: Dan Carpenter Date: Fri, 23 Jul 2010 10:09:20 +0000 (-0300) Subject: V4L/DVB: au0828: move dereference below sanity checks X-Git-Tag: v2.6.36-rc1~582^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f5933a6ab63725aedfb92f015007d4ccd33a55;p=pandora-kernel.git V4L/DVB: au0828: move dereference below sanity checks This function has sanity checks to make sure that "dev" is non-null. I moved the dereference down below the checks. In the current code "dev" is never actually null. Signed-off-by: Dan Carpenter Acked-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed