summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-12-20 22:04:02 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-21 19:51:45 +0100
commit4b97f8e10893e2c8f64a2795901bdb447a3308f4 (patch)
treeca41864a34a0aa3702f38c8fd139aa1b4720cee2 /drivers/net/stmmac
parentnet: timestamp cloned packet in dev_queue_xmit_nit (diff)
downloadlinux-4b97f8e10893e2c8f64a2795901bdb447a3308f4.tar.xz
linux-4b97f8e10893e2c8f64a2795901bdb447a3308f4.zip
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 <error27@gmail.com> Acked-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
0 files changed, 0 insertions, 0 deletions