nusb/serial: remove unused channel

This commit is contained in:
cinap_lenrek 2015-06-15 00:30:19 +02:00
parent 584caf6d1c
commit 5adf0606f1
2 changed files with 0 additions and 3 deletions

View file

@ -31,8 +31,6 @@ serialfatal(Serial *ser)
chanclose(p->w4data);
if(p->gotdata != nil)
chanclose(p->gotdata);
if(p->readc)
chanclose(p->readc);
}
}

View file

@ -62,7 +62,6 @@ struct Serialport {
Channel *w4data;
Channel *gotdata;
Channel *readc; /* to uncouple reads, only used in ftdi... */
int ndata;
uchar data[DataBufSz];