public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Christoph Hellwig <hch@lst.de>,
	mike.miller@hp.com, linux-kernel@vger.kernel.org
Subject: [PATCH] cciss: avoid defining useless MAJOR_NR macro
Date: Fri, 6 Jan 2006 21:55:32 +0100	[thread overview]
Message-ID: <20060106205532.GF12131@stusta.de> (raw)

From: Christoph Hellwig <hch@lst.de>

this sneaked in with one of the updates


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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;
 

             reply	other threads:[~2006-01-06 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 20:55 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-04 19:35 [PATCH] cciss: avoid defining useless MAJOR_NR macro Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060106205532.GF12131@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.miller@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox