summaryrefslogtreecommitdiff
path: root/core/pld/src/pld_common.c
diff options
context:
space:
mode:
authorYuanyuan Liu <yuanliu@codeaurora.org>2016-09-14 16:15:59 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-09-23 03:20:19 -0700
commit16a556259bbc15654af5cb5676123c1d93d96c23 (patch)
tree53516cf27d781699b51033701578e0e4a3a227d3 /core/pld/src/pld_common.c
parentc986846672ac970debe79c01da451ccb9835b9bf (diff)
downloadqcacld-16a556259bbc15654af5cb5676123c1d93d96c23.tar.gz
qcacld-3.0: Clean up PLD source files and remove unused function
Clean up PLD source file by moving one-line function calls to header file and make it static inline. Also, remove unused function. Change-Id: Ibaa7357db4ac305f0bab9d8ad2f7dfe9351fda7d CRs-Fixed: 1070075
Diffstat (limited to 'core/pld/src/pld_common.c')
-rw-r--r--core/pld/src/pld_common.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/pld/src/pld_common.c b/core/pld/src/pld_common.c
index 7c9372ed88..b5db8a5020 100644
--- a/core/pld/src/pld_common.c
+++ b/core/pld/src/pld_common.c
@@ -487,37 +487,6 @@ int pld_get_fw_files_for_target(struct device *dev,
}
/**
- * pld_get_fw_image() - Get FW image descriptor
- * @dev: device
- * @image_desc_info: buffer for image descriptor
- *
- * Return FW image descriptor to the buffer.
- *
- * Return: 0 for success
- * Non zero failure code for errors
- */
-int pld_get_fw_image(struct device *dev,
- struct pld_image_desc_info *image_desc_info)
-{
- int ret = 0;
-
- switch (pld_get_bus_type(dev)) {
- case PLD_BUS_TYPE_PCIE:
- ret = pld_pcie_get_fw_image(image_desc_info);
- break;
- case PLD_BUS_TYPE_SNOC:
- break;
- case PLD_BUS_TYPE_SDIO:
- break;
- default:
- ret = -EINVAL;
- break;
- }
-
- return ret;
-}
-
-/**
* pld_is_pci_link_down() - Notification for pci link down event
* @dev: device
*