]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae7c3a41bd0bd03d6752ceaf89b7de601d53066c
tree8128d03ea16ddbefa09d06ded26449d1faa4a6e9
parent390d8f2675cd5e3e46bb6ef35d5826f93ce63aa1
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