diff options
| author | Dan Carpenter <[email protected]> | 2009-07-25 15:22:59 +0300 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2009-07-27 15:19:35 -0400 |
| commit | 2a21f86917f7a9fe13b180e895a816871a234dee (patch) | |
| tree | a9411d3d1d1a10a608a6c0ffc7d8b1c50f2922f1 /include/linux/debugobjects.h | |
| parent | 45f5fa32b130b2a59f9b726be45ce7fa73fb834c (diff) | |
wireless: ERR_PTR vs null
iwm_wdev_alloc() returns an ERR_PTR on failure and not null. It also
prints its own dev_err() message so I removed that as well.
Compile tested only. Sorry.
Found by smatch (http://repo.or.cz/w/smatch.git).
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Zhu Yi <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions