diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-06-22 21:13:11 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-06-24 08:58:41 +0300 |
commit | 6915ef1cbebb3f66e140ce6b1480bf4a800719da (patch) | |
tree | 2da1ddd921802d8186e659d35a9cf1486325f120 /drivers/dma/idxd | |
parent | 999a32efed09d724c426568731c5691233d3a680 (diff) | |
download | linux-6915ef1cbebb3f66e140ce6b1480bf4a800719da.tar.xz |
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 'drivers/dma/idxd')
0 files changed, 0 insertions, 0 deletions