Skip to content

Commit e344c00

Browse files
mikechristiemartinkpetersen
authored andcommitted
scsi: target: core: Unexport target_queue_submission()
target_queue_submission() is not called by drivers anymore so unexport it. Signed-off-by: Mike Christie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e2f4ea4 commit e344c00

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

drivers/target/target_core_transport.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ void target_queued_submit_work(struct work_struct *work)
19071907
* target_queue_submission - queue the cmd to run on the LIO workqueue
19081908
* @se_cmd: command descriptor to submit
19091909
*/
1910-
void target_queue_submission(struct se_cmd *se_cmd)
1910+
static void target_queue_submission(struct se_cmd *se_cmd)
19111911
{
19121912
struct se_device *se_dev = se_cmd->se_dev;
19131913
int cpu = se_cmd->cpuid;
@@ -1917,7 +1917,6 @@ void target_queue_submission(struct se_cmd *se_cmd)
19171917
llist_add(&se_cmd->se_cmd_list, &sq->cmd_list);
19181918
queue_work_on(cpu, target_submission_wq, &sq->work);
19191919
}
1920-
EXPORT_SYMBOL_GPL(target_queue_submission);
19211920

19221921
/**
19231922
* target_submit - perform final initialization and submit cmd to LIO core

include/target/target_core_fabric.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ sense_reason_t target_cmd_init_cdb(struct se_cmd *se_cmd, unsigned char *cdb,
182182
sense_reason_t target_cmd_parse_cdb(struct se_cmd *);
183183
void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *,
184184
unsigned char *, u64, u32, int, int, int);
185-
void target_queue_submission(struct se_cmd *se_cmd);
186185

187186
int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess,
188187
unsigned char *sense, u64 unpacked_lun,

0 commit comments

Comments
 (0)