intel/ixgbevf:fix repeated words in comments
authorJilin Yuan <yuanjilin@cdjrlc.com>
Wed, 29 Jun 2022 14:34:01 +0000 (22:34 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jun 2022 18:08:45 +0000 (11:08 -0700)
Delete the redundant word 'slot'.
Delete the redundant word 'we'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c

index 55b87bc..2f12fbe 100644 (file)
@@ -4787,7 +4787,7 @@ static pci_ers_result_t ixgbevf_io_error_detected(struct pci_dev *pdev,
                pci_disable_device(pdev);
        rtnl_unlock();
 
-       /* Request a slot slot reset. */
+       /* Request a slot reset. */
        return PCI_ERS_RESULT_NEED_RESET;
 }
 
index 68fc32e..1641d00 100644 (file)
@@ -964,7 +964,7 @@ int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
        if (!err) {
                msg[0] &= ~IXGBE_VT_MSGTYPE_CTS;
 
-               /* if we we didn't get an ACK there must have been
+               /* if we didn't get an ACK there must have been
                 * some sort of mailbox error so we should treat it
                 * as such
                 */