diff options
author | scottl <scottl@FreeBSD.org> | 2003-01-20 16:15:47 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-01-20 16:15:47 +0000 |
commit | a752ec7b60312f295643dc7eb37ec1318d8c7412 (patch) | |
tree | 4265acee8d35008c327ceab11ca8f73b1a3dd2ab /sys/dev | |
parent | c11946f0bdec1528d06e784ae9f93c60d37266ed (diff) | |
download | FreeBSD-src-a752ec7b60312f295643dc7eb37ec1318d8c7412.zip FreeBSD-src-a752ec7b60312f295643dc7eb37ec1318d8c7412.tar.gz |
Remove stale reference to deprecated mini-disklayer stuff.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/raidframe/rf_freebsdkintf.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index 91454a0..fdd3d8b 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -157,8 +157,6 @@ #include <sys/bio.h> #include <sys/buf.h> #include <sys/disk.h> -#include <sys/diskslice.h> -#include <sys/disklabel.h> #include <sys/conf.h> #include <sys/lock.h> #include <sys/reboot.h> @@ -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); |