mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[PATCH] cciss: avoid defining useless MAJOR_NR macro
This sneaked in with one of the updates. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
7019e7e41e
commit
564de74a7e
2 files changed
+1
-3
No files matched your search
@@ -3118,7 +3118,7 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
|
||||
* 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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user