diff options
Diffstat (limited to 'include/scsi/iscsi_if.h')
-rw-r--r-- | include/scsi/iscsi_if.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h index 1883c85cd3ee..801a677777cc 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h | |||
@@ -310,13 +310,6 @@ enum iscsi_host_param { | |||
310 | 310 | ||
311 | #define iscsi_ptr(_handle) ((void*)(unsigned long)_handle) | 311 | #define iscsi_ptr(_handle) ((void*)(unsigned long)_handle) |
312 | #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) | 312 | #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) |
313 | #define hostdata_session(_hostdata) (iscsi_ptr(*(unsigned long *)_hostdata)) | ||
314 | |||
315 | /** | ||
316 | * iscsi_hostdata - get LLD hostdata from scsi_host | ||
317 | * @_hostdata: pointer to scsi host's hostdata | ||
318 | **/ | ||
319 | #define iscsi_hostdata(_hostdata) ((void*)_hostdata + sizeof(unsigned long)) | ||
320 | 313 | ||
321 | /* | 314 | /* |
322 | * These flags presents iSCSI Data-Path capabilities. | 315 | * These flags presents iSCSI Data-Path capabilities. |