From: Amitkumar Karwar Date: Fri, 30 Sep 2011 03:43:41 +0000 (-0700) Subject: mwifiex: handle an error path correctly X-Git-Tag: v3.2-rc1~129^2~104^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b815c6b063ddadacc062a28a3e3facc8486f31;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed