projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6597efa
)
sx8: remove unnecessary oom message
author
Zhen Lei
<thunder.leizhen@huawei.com>
Wed, 9 Jun 2021 12:24:50 +0000
(20:24 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 9 Jun 2021 15:41:53 +0000
(09:41 -0600)
Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sx8.c
patch
|
blob
|
history
diff --git
a/drivers/block/sx8.c
b/drivers/block/sx8.c
index 2cdf2771f8e82f55a865d8fb4de76d685126c0cb..71dcfde042abb96263e5c12eb7620565d3d539e5 100644
(file)
--- a/
drivers/block/sx8.c
+++ b/
drivers/block/sx8.c
@@
-1429,8
+1429,6
@@
static int carm_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
host = kzalloc(sizeof(*host), GFP_KERNEL);
if (!host) {
- printk(KERN_ERR DRV_NAME "(%s): memory alloc failure\n",
- pci_name(pdev));
rc = -ENOMEM;
goto err_out_regions;
}