[PATCH] cciss: avoid defining useless MAJOR_NR macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christoph Hellwig <[email protected]>

this sneaked in with one of the updates


Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was sent by Christoph Hellwig on:
- 4 May 2005

--- 1.136/drivers/block/cciss.c	2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.c	2005-03-12 09:12:51 +01:00
@@ -2762,7 +2762,7 @@
 	 * 8 controller support.
 	 */
 	if (i < MAX_CTLR_ORIG)
-		hba[i]->major = MAJOR_NR + i;
+		hba[i]->major = COMPAQ_CISS_MAJOR + i;
 	rc = register_blkdev(hba[i]->major, hba[i]->devname);
 	if(rc == -EBUSY || rc == -EINVAL) {
 		printk(KERN_ERR
--- 1.27/drivers/block/cciss.h	2005-03-10 09:38:39 +01:00
+++ edited/drivers/block/cciss.h	2005-03-12 09:12:30 +01:00
@@ -13,8 +13,6 @@
 #define IO_OK		0
 #define IO_ERROR	1
 
-#define MAJOR_NR COMPAQ_CISS_MAJOR
-
 struct ctlr_info;
 typedef struct ctlr_info ctlr_info_t;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux