summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-02-23 18:02:37 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-24 00:57:36 +0300
commitfcbfffe2c5cbec0c1721b2261c316b961ad50208 (patch)
tree611761e2e75cae43e41f0b5d00f5f3d1c50ad5a1 /drivers/scsi/scsi_lib.c
parent76aaf87b4cdc7f7115a32e4fda88310d42ce7fde (diff)
downloadlinux-fcbfffe2c5cbec0c1721b2261c316b961ad50208.tar.xz
scsi: remove scsi_execute_req_flags
And switch all callers to use scsi_execute instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index b0cb3e0713f3..f5e45a252485 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -289,17 +289,6 @@ int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd,
}
EXPORT_SYMBOL(scsi_execute);
-int scsi_execute_req_flags(struct scsi_device *sdev, const unsigned char *cmd,
- int data_direction, void *buffer, unsigned bufflen,
- struct scsi_sense_hdr *sshdr, int timeout, int retries,
- int *resid, u64 flags, req_flags_t rq_flags)
-{
- return scsi_execute(sdev, cmd, data_direction, buffer, bufflen,
- NULL, sshdr, timeout, retries, flags, rq_flags,
- resid);
-}
-EXPORT_SYMBOL(scsi_execute_req_flags);
-
/*
* Function: scsi_init_cmd_errh()
*