Revision 2d6c1ef4 qemu-char.c

b/qemu-char.c
197 197
                           IOEventHandler *fd_event,
198 198
                           void *opaque)
199 199
{
200
    if (!opaque) {
201
        /* chr driver being released. */
202
        s->assigned = 0;
203
    }
200 204
    s->chr_can_read = fd_can_read;
201 205
    s->chr_read = fd_read;
202 206
    s->chr_event = fd_event;

Also available in: Unified diff