Unneccessary defines in raid1

Pavel Machek (pavel@suse.cz)
Sat, 6 Nov 1999 23:12:01 +0100


Hi!

These defines seem to be uneeded. Mingo, can you please merge it into
your tree and/or forward it to Linus? (You are the raid person, are
you?)
Pavel

--- clean//drivers/block/raid1.c Thu Aug 19 09:54:11 1999
+++ linux/drivers/block/raid1.c Sat Nov 6 23:09:03 1999
@@ -366,19 +366,10 @@
#define LAST_DISK KERN_ALERT \
"raid1: only one disk left and IO error.\n"

-#define NO_SPARE_DISK KERN_ALERT \
-"raid1: no spare disk left, degrading mirror level by one.\n"
-
#define DISK_FAILED KERN_ALERT \
"raid1: Disk failure on %s, disabling device. \n" \
" Operation continuing on %d devices\n"

-#define START_SYNCING KERN_ALERT \
-"raid1: start syncing spare disk.\n"
-
-#define ALREADY_SYNCING KERN_INFO \
-"raid1: syncing already in progress.\n"
-
static int raid1_error (struct md_dev *mddev, kdev_t dev)
{
struct raid1_data *raid_conf = (struct raid1_data *) mddev->private;
@@ -428,9 +419,7 @@
}

#undef LAST_DISK
-#undef NO_SPARE_DISK
#undef DISK_FAILED
-#undef START_SYNCING

/*
* This is the personality-specific hot-addition routine

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/