Haggai Eran 373c0ea181 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>
2014-06-04 10:03:49 -07:00
..
2008-07-14 23:48:44 -07:00
2014-01-22 22:55:04 -08:00
2008-07-14 23:48:44 -07:00
2013-02-27 19:10:16 -08:00
2014-05-29 21:27:30 -07:00
2014-03-07 11:26:49 -08:00