.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "UNLINK" "" "06 October 2005" "" "" .SH NAME unlink \- remove kobject from kset list. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void unlink (struct kobject * \fIkobj\fB); \fR .SH "ARGUMENTS" .TP \fB\fIkobj\fB\fR kobject. .SH "DESCRIPTION" .PP Remove the kobject from the kset list and decrement its parent's refcount. This is separated out, so we can use it in both \fBkobject_del\fR and \fBkobject_add\fR on error.