diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-07-12 14:26:45 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-07-12 14:26:45 +0000 |
commit | 459fa29354cba1ef98b9970a92a5060f2c3f328f (patch) | |
tree | 4da13eb15e32bfbea6917937a9e23538b04cea33 /sys | |
parent | 28e1a969df2cdf92373e15d3d3a938c63c0e7547 (diff) |
Remove unused function
Diffstat (limited to 'sys')
-rw-r--r-- | sys/isofs/udf/udf.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/isofs/udf/udf.h b/sys/isofs/udf/udf.h index 67691fc0c94..cf2b803df5b 100644 --- a/sys/isofs/udf/udf.h +++ b/sys/isofs/udf/udf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: udf.h,v 1.10 2006/07/11 22:02:08 pedro Exp $ */ +/* $OpenBSD: udf.h,v 1.11 2006/07/12 14:26:44 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -108,21 +108,6 @@ udf_readlblks(struct umount *ump, int sector, int size, struct buf **bp) (size + ump->um_bmask) & ~ump->um_bmask, bp)); } -static __inline int -udf_readalblks(struct umount *ump, int lsector, int size, struct buf **bp) -{ - daddr_t rablock, lblk; - int rasize; - - lblk = (lsector + ump->um_start) << (ump->um_bshift - DEV_BSHIFT); - rablock = (lblk + 1) << ump->um_bshift; - rasize = size; - - return (breadn(ump->um_devvp, lblk, - (size + ump->um_bmask) & ~ump->um_bmask, - &rablock, &rasize, 1, NOCRED, bp)); -} - /* * Produce a suitable file number from an ICB. The passed in ICB is expected * to be in little endian (meaning that it hasn't been swapped for big |