commit | 8c169c28f40bd78b772c4d95306735c00f8db80d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 04 16:27:16 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 04 22:06:13 2015 -0500 |
tree | b3243c1681d654bb3d6694530459b0992051c01b | |
parent | 7362945aea72fccc9df4f4e7643c971e0a8c33dc [diff] |
qlogic/qed: remove bogus NULL check We check if "p_hwfn" is NULL and then dereference it in the error handling code. I read the code and it isn't NULL so let's remove the check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>