From 459fa29354cba1ef98b9970a92a5060f2c3f328f Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Wed, 12 Jul 2006 14:26:45 +0000 Subject: Remove unused function --- sys/isofs/udf/udf.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'sys') 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 @@ -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 -- cgit v1.2.3