diff options
| author | Quentin Lambert <lambert.quentin@gmail.com> | 2015-03-05 16:12:15 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 03:59:53 +0300 |
| commit | b6b0012c2d410704782301299d36d311f9a39334 (patch) | |
| tree | b19683ce00be3ac69d46eea251f1121b3919afd5 /include/linux/stringify.h | |
| parent | d08c028c75e293598b9f3e2c8ad87fb43199298c (diff) | |
| download | linux-b6b0012c2d410704782301299d36d311f9a39334.tar.xz | |
staging: rtl8192e: Remove unnecessary OOM message
This patch reduces the kernel size by removing error messages that duplicate
the normal OOM message.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr)
@@
identifier f,print,l;
expression e;
constant char[] c;
@@
e = \(kzalloc\|kmalloc\|devm_kzalloc\|devm_kmalloc\)(...);
if (e == NULL) {
<+...
- print(...,c,...);
... when any
(
goto l;
|
return ...;
)
...+> }
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
