projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b788ff0
)
net: ena: remove extra words from comments
author
Yixing Liu
<liuyixing1@huawei.com>
Wed, 31 Mar 2021 08:18:29 +0000
(16:18 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 31 Mar 2021 21:34:08 +0000
(14:34 -0700)
Remove the redundant "for" from the commment.
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/ethernet/amazon/ena/ena_netdev.c
index 5c062c51b4cb930adc349ba1863e6ecdf002bc11..881f88754bf6bd33f05d9d251d0915587acdde29 100644
(file)
--- a/
drivers/net/ethernet/amazon/ena/ena_netdev.c
+++ b/
drivers/net/ethernet/amazon/ena/ena_netdev.c
@@
-3975,7
+3975,7
@@
static u32 ena_calc_max_io_queue_num(struct pci_dev *pdev,
max_num_io_queues = min_t(u32, max_num_io_queues, io_rx_num);
max_num_io_queues = min_t(u32, max_num_io_queues, io_tx_sq_num);
max_num_io_queues = min_t(u32, max_num_io_queues, io_tx_cq_num);
- /* 1 IRQ for
for
mgmnt and 1 IRQs for each IO direction */
+ /* 1 IRQ for mgmnt and 1 IRQs for each IO direction */
max_num_io_queues = min_t(u32, max_num_io_queues, pci_msix_vec_count(pdev) - 1);
if (unlikely(!max_num_io_queues)) {
dev_err(&pdev->dev, "The device doesn't have io queues\n");