theo can't get everything right :-)
authorgraichen <graichen@openbsd.org>
Sat, 12 Apr 1997 19:53:47 +0000 (19:53 +0000)
committergraichen <graichen@openbsd.org>
Sat, 12 Apr 1997 19:53:47 +0000 (19:53 +0000)
sys/arch/pmax/pmax/disksubr.c

index 1c4dbf6..29c40ee 100644 (file)
@@ -333,7 +333,6 @@ bounds_check_with_label(bp, lp, wlabel)
                        bp->b_resid = bp->b_bcount;
                        return(0);
                }
-               sz = maxsz - bp->b_blkno;
                if (sz < 0) {
                        bp->b_error = EINVAL;
                        goto bad;