qcacld-3.0: Collect return value of pld_ipci_smmu_get_domain

Return value of pld_ipci_smmu_get_domain is not collected and
return to caller. Properly collect return value of
pld_ipci_smmu_get_domain.

Change-Id: Ia09f5eba950cb2631f4696fc927c32f49821b9ff
This commit is contained in:
Naman Padhiar 2021-01-29 23:41:33 +05:30 • committed by Gerrit - the friendly Code Review server
commit 83b2ce6faa

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -1875,7 +1875,7 @@ void *pld_smmu_get_domain(struct device *dev)
case PLD_BUS_TYPE_SNOC_FW_SIM:
break;
case PLD_BUS_TYPE_IPCI:
pld_ipci_smmu_get_domain(dev);
ptr = pld_ipci_smmu_get_domain(dev);
break;
case PLD_BUS_TYPE_SDIO:
case PLD_BUS_TYPE_USB: