diff options
author | Christoph Hellwig <hch@lst.de> | 2014-06-28 12:36:28 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 22:16:29 +0200 |
commit | 4f1e57657548d7afb4a6b62097765282f3b03c6e (patch) | |
tree | afcceb3e497b3f13012ad1c5f00c1f02cfac45ca /drivers/scsi/scsi_lib.c | |
parent | 87949eee7e15471a42f06ae534847264a41be647 (diff) | |
download | linux-stable-4f1e57657548d7afb4a6b62097765282f3b03c6e.tar.gz linux-stable-4f1e57657548d7afb4a6b62097765282f3b03c6e.tar.bz2 linux-stable-4f1e57657548d7afb4a6b62097765282f3b03c6e.zip |
scsi: mark scsi_setup_blk_pc_cmnd static
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 4e15a3a5ad29..85cf0ef843f6 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1047,7 +1047,7 @@ static struct scsi_cmnd *scsi_get_cmd_from_req(struct scsi_device *sdev, return cmd; } -int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) +static int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) { struct scsi_cmnd *cmd = req->special; @@ -1072,7 +1072,6 @@ int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) cmd->allowed = req->retries; return BLKPREP_OK; } -EXPORT_SYMBOL(scsi_setup_blk_pc_cmnd); /* * Setup a REQ_TYPE_FS command. These are simple request from filesystems |