Re: [PATCH v2 1/9] PCI/AER: Cleanup dmesg logs

From: Andy Shevchenko
Date: Mon May 06 2019 - 04:23:20 EST


On Thu, May 02, 2019 at 10:59:38PM -0500, Frederick Lawler wrote:
> Cleanup dmesg logs.

> @@ -1380,7 +1380,6 @@ static int aer_probe(struct pcie_device *dev)
>
> rpc = devm_kzalloc(device, sizeof(struct aer_rpc), GFP_KERNEL);
> if (!rpc) {
> - dev_printk(KERN_DEBUG, device, "alloc AER rpc failed\n");
> return -ENOMEM;
> }

When you will do a next version consider to drop no needed {} above.

--
With Best Regards,
Andy Shevchenko