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

Configure Feed

Select the types of activity you want to include in your feed.

soc: qcom: mdt_loader: Remove unused parameter

fw_name in qcom_mdt_bins_are_split() seems unused now, it may have
used in the past for logging it but due to code refactor this parameter
is unused now.

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Reviewed-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250807074311.2381713-3-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Mukesh Ojha and committed by
Bjorn Andersson
3bf7097b 0daf35da

+2 -2
+2 -2
drivers/soc/qcom/mdt_loader.c
··· 302 302 } 303 303 EXPORT_SYMBOL_GPL(qcom_mdt_pas_init); 304 304 305 - static bool qcom_mdt_bins_are_split(const struct firmware *fw, const char *fw_name) 305 + static bool qcom_mdt_bins_are_split(const struct firmware *fw) 306 306 { 307 307 const struct elf32_phdr *phdrs; 308 308 const struct elf32_hdr *ehdr; ··· 353 353 if (!mdt_header_valid(fw)) 354 354 return -EINVAL; 355 355 356 - is_split = qcom_mdt_bins_are_split(fw, fw_name); 356 + is_split = qcom_mdt_bins_are_split(fw); 357 357 ehdr = (struct elf32_hdr *)fw->data; 358 358 phdrs = (struct elf32_phdr *)(fw->data + ehdr->e_phoff); 359 359