[PATCH] kill two scsi ioctls

Andries.Brouwer
2003-04-10T16:21:48Z

The definition for SCSI_IOCTL_BENCHMARK_COMMAND was added in 1.1.2.
The definition for SCSI_IOCTL_SYNC was added in 1.1.38.
Neither of them has ever been used.

diff -u --recursive --new-file -X /linux/dontdiff a/include/scsi/scsi_ioctl.h b/include/scsi/scsi_ioctl.h
--- a/include/scsi/scsi_ioctl.h Fri Nov 22 22:40:13 2002
+++ b/include/scsi/scsi_ioctl.h Thu Apr 10 18:23:31 2003
@@ -3,8 +3,6 @@

#define SCSI_IOCTL_SEND_COMMAND 1
#define SCSI_IOCTL_TEST_UNIT_READY 2
-#define SCSI_IOCTL_BENCHMARK_COMMAND 3
-#define SCSI_IOCTL_SYNC 4 /* Request synchronous parameters */
#define SCSI_IOCTL_START_UNIT 5
#define SCSI_IOCTL_STOP_UNIT 6
/* The door lock/unlock constants are compatible with Sun constants for