mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
ssb: remove unreachable code
Clean up the following smatch warning: drivers/ssb/pci.c:917 ssb_pci_sprom_get() warn: ignoring unreachable code. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Michael Büsch <m@bues.ch> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220506075814.115059-1-jiapeng.chong@linux.alibaba.com
This commit is contained in:
parent
716c220b4d
commit
84dc992e23
@ -914,7 +914,6 @@ static int ssb_pci_sprom_get(struct ssb_bus *bus,
|
||||
err = 0;
|
||||
goto out_free;
|
||||
}
|
||||
pr_warn("WARNING: Invalid SPROM CRC (corrupt SPROM)\n");
|
||||
}
|
||||
}
|
||||
err = sprom_extract(bus, sprom, buf, bus->sprom_size);
|
||||
|
Loading…
Reference in New Issue
Block a user