[PATCH 33/33] Remove Compatibility mode hack from scsi_cmnd

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

 



  - So we can separate the move to scsi_data_buffer
    into several patches, we have introduced a compatibility
    hack in the very first patch, that let the patchset be
    completely bisectable. Now that the entire tree is converted
    We can finally remove OLD I/O members from scsi_cmnd.

Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
---
 include/scsi/scsi_cmnd.h |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h
index 047ffe6..8b8759c 100644
--- a/include/scsi/scsi_cmnd.h
+++ b/include/scsi/scsi_cmnd.h
@@ -113,21 +113,7 @@ struct scsi_cmnd {
 
 	unsigned char tag;	/* SCSI-II queued command tag */
 
-	union {
-		struct scsi_data_buffer sdb;
-		/*
-		 * FIXME: Here for compatibility with unconverted drivers.
-		 *        Must be kept in sync with exact type and order
-		 *        of struct scsi_data_buffer members.
-		 */
-		struct {
-			unsigned __deprecated request_bufflen;
-			int __deprecated resid;
-			unsigned short __deprecated use_sg;
-			unsigned short __deprecated place_holder_sg_alloc;
-			void __deprecated *request_buffer;
-		};
-	};
+	struct scsi_data_buffer sdb;
 };
 
 extern struct scsi_cmnd *scsi_get_command(struct scsi_device *, gfp_t);
-- 
1.5.3.1

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux