/* Unregister a server Must be called with the server lock held.  */
void smbiod_unregister_server(struct smb_sb_info *server)
/* Unregister a server Must be called with the server lock held.  */
void smbiod_unregister_server(struct smb_sb_info *server)
{
	spin_lock(&servers_lock);
	list_del_init(&server->entry);
	VERBOSE("%p\n", server);
	spin_unlock(&servers_lock);
	smbiod_wake_up();
	smbiod_flush(server);
}