diff options
author | Andy Shevchenko <[email protected]> | 2022-07-09 03:07:09 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-07-11 12:06:41 +0100 |
commit | cdb0cc9379f1b4fa5ea3e0492bacf8008f3f4e5a (patch) | |
tree | 26d5e12a59c75530d2e4d7c232eb8f2852bb3d81 /drivers/usb/cdns3/cdns3-debug.h | |
parent | b6747f4fba399a73a87fac80ac1d0c952a44b222 (diff) |
spi: remove duplicate parameters check in acpi_spi_add_resource()
The acpi_spi_add_resource() is never called with ctrl == NULL and
index == -1. The only caller already performs the check. Hence
remove the duplication from the acpi_spi_add_resource().
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions