Staging: gpib: gpib_os.c - Remove unnecessary OOM message
PATCH v2 1/1 Staging: gpib: gpib_os.c - Remove unnecessary OOM message
It duplicate the MM subsystem generic OOM message. This patch fixes the following checkpatch warning.
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by Omer Faruk BULUT <[email protected]>
---
v2:
Changelog text wrapped at 72 character
Unrelated changelog text removed
Trailing spaces removed
--- drivers/staging/gpib/common/gpib_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gpib/common/gpib_os.c +1 -1
@@ -2093,7 +2093,7 @@ void gpib_register_driver(gpib_interface_t *interface, struct module *provider_mstruct gpib_interface_list_struct *entry; entry =kmalloc (sizeof (*entry),GFP_KERNEL ); -if (!entry) +if (!entry)return ; entry->interface = interface;
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 6 lines · Omer Faruk BULUT
It duplicate the MM subsystem generic OOM message. This patch fixes the following checkpatch warning.
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by Omer Faruk BULUT <[email protected]>
That is not what this patch does at all :(