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

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

index 975eb47..57d39ee 100644 (file)
@@ -227,7 +227,7 @@ struct igbvf_adapter {
 
        /* The VF counters don't clear on read so we have to get a base
         * count on driver start up and always subtract that base on
-        * on the first update, thus the flag..
+        * the first update, thus the flag..
         */
        struct e1000_vf_stats stats;
        u64 zero_base;
index 43ced78..f4e91db 100644 (file)
@@ -2537,7 +2537,7 @@ static pci_ers_result_t igbvf_io_error_detected(struct pci_dev *pdev,
                igbvf_down(adapter);
        pci_disable_device(pdev);
 
-       /* Request a slot slot reset. */
+       /* Request a slot reset. */
        return PCI_ERS_RESULT_NEED_RESET;
 }