OSDN Git Service

IB/mlx5: Remove unnecessary else statement
authorErez Alfasi <ereza@mellanox.com>
Wed, 2 Oct 2019 12:25:16 +0000 (15:25 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 4 Oct 2019 18:38:16 +0000 (15:38 -0300)
commit6f26b2ac699cc53f7da9598be6151818461af2a1
tree8128d03ea16ddbefa09d06ded26449d1faa4a6e9
parent2d67c0798821c453d2f165e986567de50f33cbed
IB/mlx5: Remove unnecessary else statement

'else' is not generally useful after a break or return. Remove this
unnecessary statement.

Link: https://lore.kernel.org/r/20191002122517.17721-4-leon@kernel.org
Signed-off-by: Erez Alfasi <ereza@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c