Skip to content

Commit

Permalink
IB/mlx4: Incorrect semicolon after if statement
Browse files Browse the repository at this point in the history
A stray semicolon makes us inadvertently ignore the value of err.

Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
  • Loading branch information
ij1 authored and Roland Dreier committed Aug 16, 2007
1 parent 947b2a8 commit fe11cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/mlx4/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int ignore_mkey, int ignore_bkey,
in_modifier, op_modifier,
MLX4_CMD_MAD_IFC, MLX4_CMD_TIME_CLASS_C);

if (!err);
if (!err)
memcpy(response_mad, outmailbox->buf, 256);

mlx4_free_cmd_mailbox(dev->dev, inmailbox);
Expand Down

0 comments on commit fe11cb6

Please sign in to comment.