projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8dd786
)
mlx4_core: Delete incorrect comment
author
Roland Dreier
<rolandd@cisco.com>
Mon, 22 Dec 2008 15:15:05 +0000
(07:15 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Mon, 22 Dec 2008 15:15:05 +0000
(07:15 -0800)
The comment about a "Conditional on hca_type" was cut-and-pasted from
the mthca driver, and doesn't apply to mlx4 (since only one type of HCA
is handled by mlx4). So just delete it.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/eq.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx4/eq.c
b/drivers/net/mlx4/eq.c
index
5d867eb
..
2c19bff
100644
(file)
--- a/
drivers/net/mlx4/eq.c
+++ b/
drivers/net/mlx4/eq.c
@@
-243,10
+243,6
@@
static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq)
* least that often.
*/
if (unlikely(set_ci >= MLX4_NUM_SPARE_EQE)) {
- /*
- * Conditional on hca_type is OK here because
- * this is a rare case, not the fast path.
- */
eq_set_ci(eq, 0);
set_ci = 0;
}