diff options
author | Jing Wang <windsdaemon@gmail.com> | 2013-10-24 16:14:11 +0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-05 14:54:32 -0500 |
commit | 60ce473e4938a42d355dd6c83e55211a08ebe25d (patch) | |
tree | 5174bbc99a6cb7cbc0c725b34f39b7a7b3e01554 /drivers/net/wireless/at76c50x-usb.h | |
parent | d94248ac2aef78e39a76321458a78ba7805dba2e (diff) |
wl1251: return -ENOMEM if kzalloc fails
the original code used goto out if kzalloc fails,but the out include kfree,
so return -ENOMEM if kzalloc fails.
Signed-off-by: Jing Wang <windsdaemon@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.h')
0 files changed, 0 insertions, 0 deletions