(iop): Remove unused members assoc, notify.

(io_open): Remove unused parameters assoc, notify.  Caller changed.
This commit is contained in:
Markus Armbruster 2006-03-29 19:19:47 +00:00
parent ed074ff6f2
commit 7d5a6b817e
3 changed files with 3 additions and 10 deletions

View file

@ -73,9 +73,7 @@ struct iop {
struct ioqueue *input;
struct ioqueue *output;
int flags;
s_char *assoc;
int bufsize;
int (*notify)(void);
};
void
@ -84,8 +82,7 @@ io_init(void)
}
struct iop *
io_open(int fd, int flags, int bufsize, int (*notify)(void),
s_char *assoc)
io_open(int fd, int flags, int bufsize)
{
struct iop *iop;
@ -107,8 +104,6 @@ io_open(int fd, int flags, int bufsize, int (*notify)(void),
if (flags & IO_NBLOCK)
io_noblocking(iop, 1); /* FIXME check success */
iop->flags = flags;
iop->assoc = assoc;
iop->notify = notify;
return iop;
}