From 866723162a1fd3690c0d2711b94b758a80937b23 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Mon, 20 Jan 2003 16:15:47 +0000 Subject: Remove stale reference to deprecated mini-disklayer stuff. --- sys/dev/raidframe/rf_freebsdkintf.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'sys/dev/raidframe') diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index 91454a07cc24..fdd3d8b678a9 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -157,8 +157,6 @@ #include #include #include -#include -#include #include #include #include @@ -321,9 +319,6 @@ struct raid_softc { #define RAIDOUTSTANDING 10 #endif -#define RAIDLABELDEV(dev) dkmodpart(dev, RAW_PART) -#define DISKPART(dev) dkpart(dev) - static void raidgetdefaultlabel(RF_Raid_t *, struct raid_softc *, struct disk*); static int raidlock(struct raid_softc *); static void raidunlock(struct raid_softc *); @@ -1469,14 +1464,6 @@ raidstart(raidPtr) * device.. */ blocknum = bp->bio_blkno; -#if 0 /* XXX Is this needed? */ - if (DISKPART(bp->bio_dev) != RAW_PART) { - struct partition *pp; - pp = &sc->sc_dkdev.d_label.d_partitions[DISKPART( - bp->bio_dev)]; - blocknum += pp->p_offset; - } -#endif rf_printf(3, "Blocks: %ld, %ld\n", (long)bp->bio_blkno, (long)blocknum); -- cgit v1.3