]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: check for kzalloc failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 21 Jul 2015 13:27:26 +0000 (18:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 03:59:54 +0000 (20:59 -0700)
commit705a31369845d7ad522dc9bce6ca430831ff0454
tree455229b483e7d9e8767b5a1492bece86f201d923
parent586b06328c16c04a7040c92b7a13aea0447e35ec
staging: rtl8188eu: check for kzalloc failure

Check for kzalloc failure and directly return from the error patch thus
simplifying the success path.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c