]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: rtlwifi: halmac: Remove unnecessary 'out of memory' messages
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>
Wed, 20 Sep 2017 20:32:17 +0000 (23:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Sep 2017 08:53:45 +0000 (10:53 +0200)
commitee0dd523bcb98bb58608b7354a321ee28d6f42f0
tree521b631629338c21aef609722c84af6753121f75
parenteb05448d08f408fcb1fec4c9f85cda17ddbc2e43
Staging: rtlwifi: halmac: Remove unnecessary 'out of memory' messages

Remove unnecessary messages because OOM (Out Of Memory Manager)
reports memory allocation fail messages. The return value
is clear regarding the problem, so there is no need for the
'out of memory' comments. Also, delete braces {} for single
if statement blocks to improve the coding style.

Fix issues found by by checkpatch.pl.
WARNING: Possible unnecessary 'out of memory' message.
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Georgiana Chelu <georgiana.chelu93@example.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_func_88xx.c