cciss: avoid defining useless MAJOR_NR macro
PATCH 1/1 cciss: avoid defining useless MAJOR_NR macro
this sneaked in with one of the recent updates
drivers/block/cciss.c +1 -1
@@ -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
drivers/block/cciss.h +0 -2
@@ -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 ;