From: Dan Carpenter Date: Tue, 24 Aug 2010 06:52:46 +0000 (+0000) Subject: pxa168_eth: remove unneeded null check X-Git-Tag: v2.6.36-rc3~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4169591fd7c260b2b0b4e8f4d51f63f5b15ad78a;p=pandora-kernel.git pxa168_eth: remove unneeded null check "pep->pd" isn't checked consistently in this function. For example it's dereferenced unconditionally on the next line after the end of the if condition. This function is only called from pxa168_eth_probe() and pep->pd is always non-NULL so I removed the check. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed