wimax: checking ERR_PTR vs null
authorDan Carpenter <error27@gmail.com>
Thu, 22 Apr 2010 09:50:10 +0000 (02:50 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:09:10 +0000 (14:09 -0700)
commitd3e56c0ad8a2dab7ffd6179b64f00702149e5c9a
treea8c5343a77cbc2b92978cbdaf30e4425657f6396
parent7ef9f9a4ee47b8d8ab9519647ba02fc700473be8
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: Dan Carpenter <error27@gmail.com>
net/wimax/stack.c