Commit ad1f8249 authored by Israel Rukshin's avatar Israel Rukshin Committed by Jens Axboe
Browse files

nvmet-rdma: Add unlikely for response allocated check

parent 5c4072ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ nvmet_rdma_put_rsp(struct nvmet_rdma_rsp *rsp)
{
	unsigned long flags;

	if (rsp->allocated) {
	if (unlikely(rsp->allocated)) {
		kfree(rsp);
		return;
	}