Commit c8eeacb3 authored by Jacob Keller's avatar Jacob Keller Committed by Jeff Kirsher

fm10k: cleanup unnecessary parenthesis in fm10k_iov.c

This fixes a few warnings found by checkpatch.pl --strict
Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarKrishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 85062f85
...@@ -353,7 +353,7 @@ int fm10k_iov_resume(struct pci_dev *pdev) ...@@ -353,7 +353,7 @@ int fm10k_iov_resume(struct pci_dev *pdev)
struct fm10k_vf_info *vf_info = &iov_data->vf_info[i]; struct fm10k_vf_info *vf_info = &iov_data->vf_info[i];
/* allocate all but the last GLORT to the VFs */ /* allocate all but the last GLORT to the VFs */
if (i == ((~hw->mac.dglort_map) >> FM10K_DGLORTMAP_MASK_SHIFT)) if (i == (~hw->mac.dglort_map >> FM10K_DGLORTMAP_MASK_SHIFT))
break; break;
/* assign GLORT to VF, and restrict it to multicast */ /* assign GLORT to VF, and restrict it to multicast */
...@@ -511,7 +511,7 @@ int fm10k_iov_configure(struct pci_dev *pdev, int num_vfs) ...@@ -511,7 +511,7 @@ int fm10k_iov_configure(struct pci_dev *pdev, int num_vfs)
return err; return err;
/* allocate VFs if not already allocated */ /* allocate VFs if not already allocated */
if (num_vfs && (num_vfs != current_vfs)) { if (num_vfs && num_vfs != current_vfs) {
/* Disable completer abort error reporting as /* Disable completer abort error reporting as
* the VFs can trigger this any time they read a queue * the VFs can trigger this any time they read a queue
* that they don't own. * that they don't own.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment