From: Dan Carpenter Date: Mon, 20 Dec 2010 21:04:02 +0000 (+0000) Subject: bnx2x: remove bogus check X-Git-Tag: v2.6.38-rc1~476^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b97f8e10893e2c8f64a2795901bdb447a3308f4;p=pandora-kernel.git bnx2x: remove bogus check We dereferenced params on the line before so it's too late to check if params is NULL. In fact, params can never be NULL and strict_cos is either 0 or 1 so that part of the check is bogus too. Let's remove it. Signed-off-by: Dan Carpenter Acked-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed