Re: [PATCH] infiniband: scsi: remove unnecessary unlikely()
From: Jason Gunthorpe
Date: Wed Sep 05 2018 - 17:53:05 EST
On Fri, Aug 31, 2018 at 11:16:45PM +0300, Igor Stoppa wrote:
> WARN_ON() already contains an unlikely(), so it's not necessary to
> wrap it into another.
>
> Signed-off-by: Igor Stoppa <igor.stoppa@xxxxxxxxxx>
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
> Cc: linux-rdma@xxxxxxxxxxxxxxx (open list:SCSI RDMA PROTOCOL (SRP) TARGET)
> Cc: linux-kernel@xxxxxxxxxxxxxxx (open list)
> ---
> drivers/infiniband/ulp/srpt/ib_srpt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason