summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-06-22 21:13:11 +0300
committerVinod Koul <vkoul@kernel.org>2020-06-24 11:28:41 +0530
commit6915ef1cbebb3f66e140ce6b1480bf4a800719da (patch)
tree2da1ddd921802d8186e659d35a9cf1486325f120 /lib/mpi/mpi-sub-ui.c
parent999a32efed09d724c426568731c5691233d3a680 (diff)
dmaengine: acpi: Drop double check for ACPI companion device
acpi_dev_get_resources() does perform the NULL pointer check against ACPI companion device which is given as function parameter. Thus, there is no need to duplicate this check in the caller. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200622181311.67649-1-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions