]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 975eb47ee04dff81fcd3a98e0998fa7833d4f9cf..57d39ee00b58540aaf7ea919951a51f8fd30a934 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 43ced78c3a2e207d7ba20663fe9d3b269a1bd35c..f4e91db89fe5aeb05f7d5ff68c3eaf50939f5e6f 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;
 }