diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-09 20:24:50 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-09 09:41:53 -0600 |
commit | c744b06254a3a163c6bcf70bb21f0241107271fc (patch) | |
tree | 9b3ecfd283acf51468133640110e78ace2fedeab /drivers | |
parent | 6597efa6c58fa9f02f624e3e99bb00e73c32bcb2 (diff) |
sx8: remove unnecessary oom message
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/sx8.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index 2cdf2771f8e8..71dcfde042ab 100644 --- 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; } |