Skip to content
Commit d3e56c0a authored by Dan Carpenter's avatar Dan Carpenter Committed by Inaky Perez-Gonzalez
Browse files

wimax: checking ERR_PTR vs null



stch_skb is allocated with wimax_gnl_re_state_change_alloc().  That
function returns ERR_PTRs on failure and doesn't return NULL.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
parent 7ef9f9a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment