diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-05-08 10:07:48 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-06-01 16:32:43 +0200 |
commit | 07e3842055c391e611dd907c81760f4c705f9acb (patch) | |
tree | 56005ced37b31c082fa984981a8073a241ff3839 /include/scsi/scsi_device.h | |
parent | Split SCSI header files (diff) | |
download | linux-07e3842055c391e611dd907c81760f4c705f9acb.tar.xz linux-07e3842055c391e611dd907c81760f4c705f9acb.zip |
Move code that is used both by initiator and target drivers
Move the functions that are used by both the initiator and target
subsystems into scsi_common.c/.h. This change will allow to remove
the initiator SCSI header include directives from most SCSI target
source files in a later patch.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r-- | include/scsi/scsi_device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index a4c9336811d1..ae84b2214d40 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -413,8 +413,6 @@ extern void scsi_target_reap(struct scsi_target *); extern void scsi_target_block(struct device *); extern void scsi_target_unblock(struct device *, enum scsi_device_state); extern void scsi_remove_target(struct device *); -extern void int_to_scsilun(u64, struct scsi_lun *); -extern u64 scsilun_to_int(struct scsi_lun *); extern const char *scsi_device_state_name(enum scsi_device_state); extern int scsi_is_sdev_device(const struct device *); extern int scsi_is_target_device(const struct device *); |