Skip to content

Commit

Permalink
Drop unused ioctx->srv structure member
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Feb 29, 2012
1 parent 36b960a commit 4dc495f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions diod/ops.c
Expand Up @@ -112,7 +112,6 @@ struct ioctx_struct {
u32 iounit;
u32 open_flags;
Npuser *user;
Npsrv *srv;
IOCtx next;
IOCtx prev;
};
Expand Down Expand Up @@ -343,7 +342,6 @@ _ioctx_close (Npfid *fid, int seterrno)
static int
_ioctx_open (Npfid *fid, u32 flags, u32 mode)
{
Npsrv *srv = fid->conn->srv;
Fid *f = fid->aux;
struct stat sb;
IOCtx ip;
Expand Down Expand Up @@ -378,7 +376,6 @@ _ioctx_open (Npfid *fid, u32 flags, u32 mode)
f->ioctx->lock_type = LOCK_UN;
f->ioctx->dir = NULL;
f->ioctx->open_flags = flags;
f->ioctx->srv = srv;
np_user_incref (fid->user);
f->ioctx->user = fid->user;
f->ioctx->prev = f->ioctx->next = NULL;
Expand Down

0 comments on commit 4dc495f

Please sign in to comment.