From: Veaceslav Falico Date: Tue, 29 Jul 2014 11:27:43 +0000 (+0200) Subject: bonding: use kobject_put instead of _del after kobject_add X-Git-Tag: cleanup-for-v3.18~108^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7afcaec4969652e177cf0b247a1530ac927a20f8;p=pandora-kernel.git bonding: use kobject_put instead of _del after kobject_add Otherwise the name of the kobject isn't getting freed and other stuff from kobject_cleanup() isn't getting called. kobject_put() will call kobject_del() on its own in kobject_cleanup(). CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed