Commit 4f1e57657548d7afb4a6b62097765282f3b03c6e
1 parent
87949eee7e
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>
Showing 2 changed files with 1 additions and 4 deletions Side-by-side Diff
drivers/scsi/scsi_lib.c
... | ... | @@ -1047,7 +1047,7 @@ |
1047 | 1047 | return cmd; |
1048 | 1048 | } |
1049 | 1049 | |
1050 | -int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | |
1050 | +static int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | |
1051 | 1051 | { |
1052 | 1052 | struct scsi_cmnd *cmd = req->special; |
1053 | 1053 | |
... | ... | @@ -1072,7 +1072,6 @@ |
1072 | 1072 | cmd->allowed = req->retries; |
1073 | 1073 | return BLKPREP_OK; |
1074 | 1074 | } |
1075 | -EXPORT_SYMBOL(scsi_setup_blk_pc_cmnd); | |
1076 | 1075 | |
1077 | 1076 | /* |
1078 | 1077 | * Setup a REQ_TYPE_FS command. These are simple request from filesystems |
include/scsi/scsi_driver.h