diff options
author | Haggai Eran <haggaie@mellanox.com> | 2014-05-18 12:12:24 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-06-04 21:03:49 +0400 |
commit | 373c0ea181c8d277a4a51bbd705189a6a030b81c (patch) | |
tree | c6c9604c87f600788930250ac9aa397ca0864df7 /net/unix/af_unix.c | |
parent | 8ec0a0e6b58218bdc1db91dd70ebfcd6ad8dd6cd (diff) | |
download | linux-373c0ea181c8d277a4a51bbd705189a6a030b81c.tar.xz |
IB/core: Remove unneeded kobject_get/put calls
The ib_core module will call kobject_get on the parent object of each
kobject it creates. This is redundant since kobject_add does that
anyway.
As a side effect, this patch should fix leaking the ports kobject and
the device kobject during unregister flow, since the previous code
didn't seem to take into account the kobject_get calls on behalf of
the child kobjects.
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions