mbox series

[rdma-next,0/4] Unrelated code cleanups

Message ID 20191002122517.17721-1-leon@kernel.org (mailing list archive)
Headers show
Series Unrelated code cleanups | expand

Message

Leon Romanovsky Oct. 2, 2019, 12:25 p.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Hi,

Various code cleanups.

Thanks

Erez Alfasi (2):
  IB/mlx5: Remove unnecessary return statement
  IB/mlx5: Remove unnecessary else statement

Leon Romanovsky (1):
  RDMA/mlx5: Group boolean parameters to take less space

Parav Pandit (1):
  IB/cm: Use container_of() instead of typecast

 drivers/infiniband/core/cm.c         | 4 ++--
 drivers/infiniband/hw/mlx5/main.c    | 4 ++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h | 8 ++++----
 drivers/infiniband/hw/mlx5/odp.c     | 2 --
 4 files changed, 8 insertions(+), 10 deletions(-)

--
2.20.1

Comments

Jason Gunthorpe Oct. 4, 2019, 6:49 p.m. UTC | #1
On Wed, Oct 02, 2019 at 03:25:13PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Hi,
> 
> Various code cleanups.
> 
> Thanks
> 
> Erez Alfasi (2):
>   IB/mlx5: Remove unnecessary return statement
>   IB/mlx5: Remove unnecessary else statement
> 
> Leon Romanovsky (1):
>   RDMA/mlx5: Group boolean parameters to take less space
> 
> Parav Pandit (1):
>   IB/cm: Use container_of() instead of typecast

Applied to for-next, thanks

Jason