Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: target: core: Unexport target_queue_submission()

target_queue_submission() is not called by drivers anymore so unexport it.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230928020907.5730-7-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Mike Christie and committed by
Martin K. Petersen
e344c00e e2f4ea40

+1 -3
+1 -2
drivers/target/target_core_transport.c
··· 1907 1907 * target_queue_submission - queue the cmd to run on the LIO workqueue 1908 1908 * @se_cmd: command descriptor to submit 1909 1909 */ 1910 - void target_queue_submission(struct se_cmd *se_cmd) 1910 + static void target_queue_submission(struct se_cmd *se_cmd) 1911 1911 { 1912 1912 struct se_device *se_dev = se_cmd->se_dev; 1913 1913 int cpu = se_cmd->cpuid; ··· 1917 1917 llist_add(&se_cmd->se_cmd_list, &sq->cmd_list); 1918 1918 queue_work_on(cpu, target_submission_wq, &sq->work); 1919 1919 } 1920 - EXPORT_SYMBOL_GPL(target_queue_submission); 1921 1920 1922 1921 /** 1923 1922 * target_submit - perform final initialization and submit cmd to LIO core
-1
include/target/target_core_fabric.h
··· 182 182 sense_reason_t target_cmd_parse_cdb(struct se_cmd *); 183 183 void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *, 184 184 unsigned char *, u64, u32, int, int, int); 185 - void target_queue_submission(struct se_cmd *se_cmd); 186 185 187 186 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, 188 187 unsigned char *sense, u64 unpacked_lun,