]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Remove unneeded NULL check
authorYuval Shaia <yuval.shaia@oracle.com>
Tue, 11 Dec 2018 10:26:35 +0000 (12:26 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Dec 2018 21:38:18 +0000 (14:38 -0700)
commit3db7219aab4620fba3fdd78248ed9265d26c173b
tree8763ac2f0de6a9af61693066ba37a84b0d22a86a
parent56e498def2f6499d47064c4aac01be6120fd4a9c
IB/mlx4: Remove unneeded NULL check

NULL check for kfree is unnecessary, remove it.

Fixes: 5ff23eed994b ("IB/mlx4: Rework special QP creation error path")
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/qp.c