linux/drivers/staging/winbond
Harsh Kumar d3d472b6e5 Staging: winbond: Check for unsuccessful allocation immediately
Check to see if allocation by kzalloc() or usb_alloc_urb() was unsuccessful
immediately after the allocation. Exit from the function can be right at that
point in case of allocation failure.
This avoids unnecessary use of usb_alloc_urb() & usb_free_urb() if kzalloc()
returns NULL.
Also, makes the code better structured & easier to understand.

Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-03 12:32:00 -07:00
..
core.h
Kconfig staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
localpara.h
mac_structures.h
Makefile
mds_f.h
mds_s.h
mds.c Staging: winbond: mds: Fixed coding style issues 2012-11-13 13:11:57 -08:00
mto.c
mto.h
phy_calibration.c Staging: winbond: usb_free_urb(NULL) is safe 2013-05-30 20:59:47 +09:00
phy_calibration.h
reg.c Staging: winbond: Made local functions static 2013-05-30 20:59:48 +09:00
sme_api.h
TODO
wb35reg_f.h
wb35reg_s.h
wb35reg.c Staging: winbond: Check for unsuccessful allocation immediately 2013-06-03 12:32:00 -07:00
wb35rx_f.h
wb35rx_s.h Staging: winbond: wb35rx_s: Fixed coding style issue 2012-11-13 13:11:57 -08:00
wb35rx.c Staging: winbond: usb_free_urb(NULL) is safe 2013-05-30 20:59:47 +09:00
wb35tx_f.h
wb35tx_s.h
wb35tx.c
wbhal.h
wbusb.c