[PATCH -mm] iteraid: remove ITE_IOC_GET_DRIVER_VERSION

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

 



Until too late.

Signed-off-by: Alexey Dobriyan <[email protected]>

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 {
 	/*
-
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]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux