iteraid: remove ITE_IOC_GET_DRIVER_VERSION
PATCH 1/1 iteraid: remove ITE_IOC_GET_DRIVER_VERSION
Until too late.
Signed-off-by Alexey Dobriyan <[email protected]>
drivers/scsi/iteraid.c +1 -6
@@ -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 */
drivers/scsi/iteraid.h +0 -1
@@ -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 { /*
We can just kill the driver again, mainline now has the proper ide-layer driver for the hardware. The scsi-layer driver is not going in with any amount of cleanups, it's just conceptually wrong.