igb: Delete an error message for a failed memory allocation in igb_enable_sriov()
Subsystems (4)
PATCH 1/1 igb: Delete an error message for a failed memory allocation in igb_enable_sriov()
From: Markus Elfring <[email protected]>
Date: Mon, 1 Jan 2018 20:53:10 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
--- drivers/net/ethernet/intel/igb/igb_main.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/igb/igb_main.c +0 -2
@@ -3200,8 +3200,6 @@ static int igb_enable_sriov(struct pci_dev *pdev, int num_vfs)/* if allocation failed then we do not support SR-IOV */ if (!adapter->vf_data) { adapter->vfs_allocated_count =0 ; -dev_err (&pdev->dev, -"Unable to allocate memory for VF Data Storage\n" ); err = -ENOMEM ; goto out; }
Signature · 1 line
2.15.1
Quoted 12 lines
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of SF Markus Elfring
Sent: Monday, January 1, 2018 11:57 AM
To: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T <[email protected]>
Cc: kernel-janitors at vger.kernel.org; LKML <[email protected]>
Subject: [Intel-wired-lan] [PATCH] igb: Delete an error message for a failed memory allocation inigb_enable_sriov()From: Markus Elfring <[email protected]>
Date: Mon, 1 Jan 2018 20:53:10 +0100
Quoted 9 lines
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>--- drivers/net/ethernet/intel/igb/igb_main.c | 2 -- 1 file changed, 2 deletions(-)