From: Dan Carpenter Date: Tue, 11 Oct 2011 22:43:53 +0000 (-0400) Subject: cipso: remove an unneeded NULL check in cipso_v4_doi_add() X-Git-Tag: v3.2-rc1~129^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56755924100261b8e52dca68ca53ece54b6f64ad;p=pandora-kernel.git cipso: remove an unneeded NULL check in cipso_v4_doi_add() We dereference doi_def on the line before the NULL check. It has been this way since 2008. I checked all the callers and doi_def is always non-NULL here. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed