diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-09-30 05:43:41 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-03 21:22:36 +0200 |
commit | 44b815c6b063ddadacc062a28a3e3facc8486f31 (patch) | |
tree | 171ac8deb41426c1f07dac9c5303175310209512 /drivers/net/depca.h | |
parent | mwifiex: correct AMSDU aggregation check (diff) | |
download | linux-44b815c6b063ddadacc062a28a3e3facc8486f31.tar.xz linux-44b815c6b063ddadacc062a28a3e3facc8486f31.zip |
mwifiex: handle an error path correctly
In failure case locks are not allocated in mwifiex_register().
So mwifiex_free_lock_list() routine call becomes redundant.
Also we don't need to check return type for mwifiex_init_lock_list()
routine. It never fails.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/depca.h')
0 files changed, 0 insertions, 0 deletions