mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ASoC: SDCA: Avoid use of uninitialised local name variable
The local name variable is accidentally left over from an earlier
version of the code. Remove the variable and its uninitialised usage.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202507150415.M1tCgi3p-lkp@intel.com/
Fixes: b126394d9e
("ASoC: SDCA: Generic interrupt support")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250715151723.2964336-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
3f2e4c1192
commit
71562278a1
1 changed files with 1 additions and 2 deletions
|
@ -342,7 +342,6 @@ int sdca_irq_populate(struct sdca_function_data *function,
|
|||
int irq = control->interrupt_position;
|
||||
struct sdca_interrupt *interrupt;
|
||||
irq_handler_t handler;
|
||||
const char *name;
|
||||
int ret;
|
||||
|
||||
if (irq == SDCA_NO_INTERRUPT) {
|
||||
|
@ -385,7 +384,7 @@ int sdca_irq_populate(struct sdca_function_data *function,
|
|||
handler, interrupt);
|
||||
if (ret) {
|
||||
dev_err(dev, "failed to request irq %s: %d\n",
|
||||
name, ret);
|
||||
interrupt->name, ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue