From 338bb82bb1ae130b78e5c921f12dd94ce3f2c570 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Wed, 21 Sep 2016 11:36:51 +0900 Subject: [PATCH] sys/dev/disk/dm: Remove #if0'd dmminphys() from NetBSD This is specific to NetBSD, so we can remove this. --- sys/dev/disk/dm/device-mapper.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/dev/disk/dm/device-mapper.c b/sys/dev/disk/dm/device-mapper.c index 5c2d1c852e..2b2c2194f3 100644 --- a/sys/dev/disk/dm/device-mapper.c +++ b/sys/dev/disk/dm/device-mapper.c @@ -62,9 +62,6 @@ static void dm_doinit(void); static int dm_cmd_to_fun(prop_dictionary_t); static int disk_ioctl_switch(cdev_t, u_long, void *); static int dm_ioctl_switch(u_long); -#if 0 -static void dmminphys(struct buf *); -#endif static struct dev_ops dmctl_ops = { { "dm", 0, D_MPSAFE }, @@ -588,15 +585,6 @@ dmsize(struct dev_psize_args *ap) return 0; } -#if 0 -static void -dmminphys(struct buf *bp) -{ - - bp->b_bcount = MIN(bp->b_bcount, MAXPHYS); -} -#endif - void dmsetdiskinfo(struct disk *disk, dm_table_head_t *head) { -- 2.41.0