diff options
author | Scott Long <scottl@FreeBSD.org> | 2003-01-20 16:15:47 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2003-01-20 16:15:47 +0000 |
commit | 866723162a1fd3690c0d2711b94b758a80937b23 (patch) | |
tree | 4265acee8d35008c327ceab11ca8f73b1a3dd2ab /sys | |
parent | 355f192528a0edb84092ae50a133e160a72da77f (diff) | |
download | src-866723162a1fd3690c0d2711b94b758a80937b23.tar.gz src-866723162a1fd3690c0d2711b94b758a80937b23.zip |
Remove stale reference to deprecated mini-disklayer stuff.
Notes
Notes:
svn path=/head/; revision=109571
Diffstat (limited to 'sys')
-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 91454a07cc24..fdd3d8b678a9 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); |