Re: [PATCH] RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode

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

 



On Mon, Jun 05, 2023 at 11:37:28AM -0700, bryantan@xxxxxxxxxx wrote:
> From: Bryan Tan <bryantan@xxxxxxxxxx>
> 
> wr->opcode is unsigned; checking if it is negative is unnecessary.
> Fix this issue by removing the check.
> 
> Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Bryan Tan <bryantan@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 8 --------
>  1 file changed, 8 deletions(-)

Applied to for-next, thanks

Jason



[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