aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-11-04 16:27:16 +0300
committerDavid S. Miller <[email protected]>2015-11-04 22:06:13 -0500
commit8c169c28f40bd78b772c4d95306735c00f8db80d (patch)
treeb3243c1681d654bb3d6694530459b0992051c01b /scripts/gcc-plugins/randomize_layout_plugin.c
parent7362945aea72fccc9df4f4e7643c971e0a8c33dc (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 <[email protected]> Acked-by: Yuval Mintz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions