From: Don Fry Date: Fri, 31 Jul 2009 08:40:06 +0000 (+0000) Subject: pcnet32: remove superfluous NULL pointer check in pcnet32_probe1() X-Git-Tag: v2.6.31-rc6~68^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df4e7f72f5156ef16a918da8a575ba90ec27ab77;p=pandora-kernel.git pcnet32: remove superfluous NULL pointer check in pcnet32_probe1() Move the debug printk() into the proper place and remove superfluous NULL pointer check in pcnet32_probe1(). This takes care of the following entry from Dan's list: drivers/net/pcnet32.c +1889 pcnet32_probe1(298) warning: variable derefenced before check 'pdev' Reported-by: Dan Carpenter Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Don Fry Signed-off-by: David S. Miller --- Reading git-diff-tree failed