aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_cmnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_cmnd.h')
-rw-r--r--include/scsi/scsi_cmnd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h
index 414edf9b1272..dd7c998221b3 100644
--- a/include/scsi/scsi_cmnd.h
+++ b/include/scsi/scsi_cmnd.h
@@ -155,9 +155,6 @@ extern void scsi_release_buffers(struct scsi_cmnd *cmd);
155extern int scsi_dma_map(struct scsi_cmnd *cmd); 155extern int scsi_dma_map(struct scsi_cmnd *cmd);
156extern void scsi_dma_unmap(struct scsi_cmnd *cmd); 156extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
157 157
158struct scsi_cmnd *scsi_allocate_command(gfp_t gfp_mask);
159void scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd *cmd);
160
161static inline unsigned scsi_sg_count(struct scsi_cmnd *cmd) 158static inline unsigned scsi_sg_count(struct scsi_cmnd *cmd)
162{ 159{
163 return cmd->sdb.table.nents; 160 return cmd->sdb.table.nents;