summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-05-18 07:47:34 +0200
committerDavid S. Miller <davem@davemloft.net>2010-05-18 07:47:34 +0200
commitee289b6440c3b0ccb9459495783e8c299bec6604 (patch)
tree6c3eeae205789e50657fd93853d7f3ce5802810c /drivers/net/mlx4
parentqeth: support the new OSA CHPID types OSX and OSM (diff)
downloadlinux-ee289b6440c3b0ccb9459495783e8c299bec6604.tar.xz
linux-ee289b6440c3b0ccb9459495783e8c299bec6604.zip
drivers/net: remove useless semicolons
switch and while statements don't need semicolons at end of statement [ Fixup minor conflicts with recent wimax merge... -DaveM ] Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/eq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/eq.c b/drivers/net/mlx4/eq.c
index 7365bf488b81..423053482ed5 100644
--- a/drivers/net/mlx4/eq.c
+++ b/drivers/net/mlx4/eq.c
@@ -239,7 +239,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq)
mlx4_warn(dev, "Unhandled event %02x(%02x) on EQ %d at index %u\n",
eqe->type, eqe->subtype, eq->eqn, eq->cons_index);
break;
- };
+ }
++eq->cons_index;
eqes_found = 1;