staging: rtl8188eu: fix double unlock error in rtw_resume_process()
authorWei Yongjun <weiyj.lk@gmail.com>
Fri, 30 Sep 2016 16:38:08 +0000 (00:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:32:17 +0000 (17:32 +0200)
commit23bf40424a0f641ca7ff4225add4aa592086bdd5
tree6c312d33e56db92c0083515b8574d5772586c35d
parent612e1c94bfe9736cef0a9b86db792fd863be7733
staging: rtl8188eu: fix double unlock error in rtw_resume_process()

Fix following static checker warning:
    drivers/staging/rtl8188eu/os_dep/usb_intf.c:311 rtw_resume_process()
    error: double unlock 'mutex:&pwrpriv->mutex_lock'

Fixes: eaf47b713b60 ("staging: rtl8188eu: fix missing unlock on error in rtw_resume_process()")
Reported-By: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c