diff options
-rw-r--r-- | sys/fs/nwfs/nwfs_vnops.c | 3 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_vnops.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c index 774ee1e..7ed5d85 100644 --- a/sys/fs/nwfs/nwfs_vnops.c +++ b/sys/fs/nwfs/nwfs_vnops.c @@ -784,7 +784,6 @@ static int nwfs_strategy (ap) struct buf *bp=ap->a_bp; struct ucred *cr; struct thread *td; - int error = 0; NCPVNDEBUG("\n"); if (bp->b_flags & B_ASYNC) @@ -801,7 +800,7 @@ static int nwfs_strategy (ap) * otherwise just do it ourselves. */ if ((bp->b_flags & B_ASYNC) == 0 ) - error = nwfs_doio(ap->a_vp, bp, cr, td); + (void)nwfs_doio(ap->a_vp, bp, cr, td); return (0); } diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c index 9b1e76d..0fd0233 100644 --- a/sys/fs/smbfs/smbfs_vnops.c +++ b/sys/fs/smbfs/smbfs_vnops.c @@ -850,7 +850,6 @@ smbfs_strategy (ap) struct buf *bp=ap->a_bp; struct ucred *cr; struct thread *td; - int error = 0; SMBVDEBUG("\n"); if (bp->b_flags & B_ASYNC) @@ -863,7 +862,7 @@ smbfs_strategy (ap) cr = bp->b_wcred; if ((bp->b_flags & B_ASYNC) == 0 ) - error = smbfs_doio(ap->a_vp, bp, cr, td); + (void)smbfs_doio(ap->a_vp, bp, cr, td); return (0); } |