.\" 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 "SND_CTL_REMOVE" "9" "09 October 2005" "" "" .SH NAME snd_ctl_remove \- remove the control from the card and release it .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_ctl_remove (snd_card_t * \fIcard\fB, snd_kcontrol_t * \fIkcontrol\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR the card instance .TP \fB\fIkcontrol\fB\fR the control instance to remove .SH "DESCRIPTION" .PP Removes the control from the card and then releases the instance. You don't need to call \fBsnd_ctl_free_one\fR\&. You must be in the write lock - down_write(&card->controls_rwsem). .PP Returns 0 if successful, or a negative error code on failure.