Re: [PATCH v2] RDMA/rxe: Get rid of redundant plus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 04, 2022 at 09:24:06AM +0800, Li Zhijian wrote:
> --- a/drivers/infiniband/sw/rxe/rxe_opcode.c
> +++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
> @@ -879,9 +879,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>  			[RXE_ATMETH]	= RXE_BTH_BYTES
>  						+ RXE_RDETH_BYTES
>  						+ RXE_DETH_BYTES,
> -			[RXE_PAYLOAD]	= RXE_BTH_BYTES +
> +			[RXE_PAYLOAD]	= RXE_BTH_BYTES
>  						+ RXE_ATMETH_BYTES
> -						+ RXE_DETH_BYTES +
> +						+ RXE_DETH_BYTES
>  						+ RXE_RDETH_BYTES,
>  		}
>  	},
> @@ -900,9 +900,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>  			[RXE_ATMETH]	= RXE_BTH_BYTES
>  						+ RXE_RDETH_BYTES
>  						+ RXE_DETH_BYTES,
> -			[RXE_PAYLOAD]	= RXE_BTH_BYTES +
> +			[RXE_PAYLOAD]	= RXE_BTH_BYTES
>  						+ RXE_ATMETH_BYTES
> -						+ RXE_DETH_BYTES +
> +						+ RXE_DETH_BYTES
>  						+ RXE_RDETH_BYTES,
>  		}
>  	},

Please fix this up to always have the + on the continuing line which
is the normal kernel style.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux