]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/rtrs: Remove a useless kfree()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 5 Aug 2021 17:43:36 +0000 (19:43 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 19 Aug 2021 14:19:07 +0000 (11:19 -0300)
commit00c85b6576d3a9c9d9f0320a59b1e7b5bd25ade4
tree053948bb95d96efe5240b37217877a1f5f4f763e
parentc4c7d7a43246a42b0355692c3ed53dff7cbb29bb
RDMA/rtrs: Remove a useless kfree()

'sess->rbufs' is known to be NULL here, so there is no point in kfree'ing
it.

Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality")
Link: https://lore.kernel.org/r/9a57c9f837fa2c6f0070578a1bc4840688f62962.1628185335.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs-clt.c