linux/drivers/staging/gdm724x
Bhanusree Pola a41d42a9fd Staging: gdm724x: Remove unnecessary print statements
Remove print statements that provide information about error messages
when memory allocation is failed.
Issue found using coccinelle
The following semantic patch is used to solve this:

<smpl>
@@
expression x;
constant char[] C;
identifier f;
@@

x = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\|
usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\)(...));

if(x==NULL)
{
...
(
-f(C,...);
|
-f(...,C);
)
...
}
</smpl>

Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-22 15:16:28 +01:00
..
gdm_endian.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_endian.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_lte.c Staging: gdm724x: Remove unnecessary print statements 2019-03-22 15:16:28 +01:00
gdm_lte.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_mux.c staging: gdm724x: Do not break expressions 2019-03-18 07:53:39 +01:00
gdm_mux.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_tty.c Staging: gdm724x: use match_string() helper 2018-06-17 09:05:13 +02:00
gdm_tty.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_usb.c staging: gdm724x: redundant variables idProduct and idVendor 2018-07-11 13:12:34 +02:00
gdm_usb.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci_packet.h staging: gdm724x: Rename dftEpsId to dft_eps_id 2019-03-21 08:26:52 +01:00
hci.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
Kconfig
Makefile
netlink_k.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
netlink_k.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
TODO