summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_cmd.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2024-04-19 18:17:59 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-04-23 14:08:08 +0300
commit319b6d4ef08714ed593a5eb842deb249544c19e1 (patch)
tree094bf269d7f7c05ace2c3e83ee1b86ba1da418ce /drivers/net/ipa/ipa_cmd.h
parentf2e4e9ea82f92e58ffe4aab0077445dc27a79194 (diff)
downloadlinux-319b6d4ef08714ed593a5eb842deb249544c19e1.tar.xz
net: ipa: fix two minor ipa_cmd problems
In "ipa_cmd.h", ipa_cmd_data_valid() is declared, but that function does not exist. So delete that declaration. Also, for some reason ipa_cmd_init() never gets called. It isn't really critical--it just validates that some memory offsets and a size can be represented in some register fields, and they won't fail with current data. Regardless, call the function in ipa_probe(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ipa/ipa_cmd.h')
-rw-r--r--drivers/net/ipa/ipa_cmd.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/ipa/ipa_cmd.h b/drivers/net/ipa/ipa_cmd.h
index 5824bb131eba..2077fdbade99 100644
--- a/drivers/net/ipa/ipa_cmd.h
+++ b/drivers/net/ipa/ipa_cmd.h
@@ -54,14 +54,6 @@ bool ipa_cmd_table_init_valid(struct ipa *ipa, const struct ipa_mem *mem,
bool route);
/**
- * ipa_cmd_data_valid() - Validate command-realted configuration is valid
- * @ipa: - IPA pointer
- *
- * Return: true if assumptions required for command are valid
- */
-bool ipa_cmd_data_valid(struct ipa *ipa);
-
-/**
* ipa_cmd_pool_init() - initialize command channel pools
* @channel: AP->IPA command TX GSI channel pointer
* @tre_count: Number of pool elements to allocate