]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 55b87bc3a938b6af69fe3fcf920a33224508e0a4..2f12fbe229c1588452d7b9fee5bd36eb2c23332a 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 68fc32e36e880e07da72fbd4af757a206094d888..1641d00d8ed35c2a06a7ffacae353001e146e98c 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
                 */