linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Donald.Huang@ite.com.tw
Subject: [PATCH -mm] iteraid: remove ITE_IOC_GET_DRIVER_VERSION
Date: Tue, 5 Jul 2005 23:24:24 +0400	[thread overview]
Message-ID: <200507052324.24654.adobriyan@gmail.com> (raw)

Until too late.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

diff -uprN linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.c linux-2.6.13-rc1-mm1-iteraid/drivers/scsi/iteraid.c
--- linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.c	2005-07-03 04:13:08.000000000 +0400
+++ linux-2.6.13-rc1-mm1-iteraid/drivers/scsi/iteraid.c	2005-07-05 23:12:31.000000000 +0400
@@ -301,7 +301,7 @@ static int itedev_ioctl(struct inode *, 
 static int itedev_close(struct inode *, struct file *);
 
 #define DRV_VER_8212 "1.45"
-static int driver_ver = 145;
+MODULE_VERSION(DRV_VER_8212);
 static int ite_major = 0;
 
 static struct file_operations itedev_fops = {
@@ -5112,11 +5112,6 @@ exit:
 
 		put_user(status, (u8 __user *) arg);
 		return 0;
-	case ITE_IOC_GET_DRIVER_VERSION:
-		dprintk("ITE_IOC_GET_DRIVER_VERSION\n");
-
-		put_user(driver_ver, (int __user *)arg);
-		return 0;
 	default:
 		return -EINVAL;
 	}			/* end switch */
diff -uprN linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.h linux-2.6.13-rc1-mm1-iteraid/drivers/scsi/iteraid.h
--- linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.h	2005-07-03 04:13:08.000000000 +0400
+++ linux-2.6.13-rc1-mm1-iteraid/drivers/scsi/iteraid.h	2005-07-05 23:10:18.000000000 +0400
@@ -988,7 +988,6 @@ typedef struct _uioctl_t {
 #define ITE_IOC_REBUILD_START		_IO(ITE_IOCMAGIC, 3)
 #define ITE_IOC_GET_REBUILD_STATUS	_IO(ITE_IOCMAGIC, 4)
 #define ITE_IOC_RESET_ADAPTER		_IO(ITE_IOCMAGIC, 5)
-#define ITE_IOC_GET_DRIVER_VERSION	_IO(ITE_IOCMAGIC, 6)
 
 typedef struct _Channel {
 	/*

             reply	other threads:[~2005-07-05 19:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 19:24 Alexey Dobriyan [this message]
2005-07-06  9:00 ` [PATCH -mm] iteraid: remove ITE_IOC_GET_DRIVER_VERSION 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=200507052324.24654.adobriyan@gmail.com \
    --to=adobriyan@gmail.com \
    --cc=Donald.Huang@ite.com.tw \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).