projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mlx4: Remove redundant NULL check before kfree
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
infiniband
/
hw
/
mlx4
/
main.c
diff --git
a/drivers/infiniband/hw/mlx4/main.c
b/drivers/infiniband/hw/mlx4/main.c
index
e7d81c0
..
3fdd1c1
100644
(file)
--- a/
drivers/infiniband/hw/mlx4/main.c
+++ b/
drivers/infiniband/hw/mlx4/main.c
@@
-1601,8
+1601,7
@@
static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init)
spin_unlock_irqrestore(&ibdev->sriov.going_down_lock, flags);
}
out:
- if (dm)
- kfree(dm);
+ kfree(dm);
return;
}