diff options
author | Alex Elder <elder@linaro.org> | 2022-05-21 19:32:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-22 20:46:12 +0100 |
commit | 4de284b72e59e1006a6b6358c060265a9f1be100 (patch) | |
tree | 95c5072b124a55a8808b5058fdbce090a22ad7a7 /drivers/net/ipa/gsi_trans.c | |
parent | 7ffba3bdf76a7bf93ec2dc56369ea563dea92b7c (diff) |
net: ipa: remove command direction argument
We no longer use the direction argument for gsi_trans_cmd_add(), so
get rid of it in its definition, and in its seven callers.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi_trans.c')
-rw-r--r-- | drivers/net/ipa/gsi_trans.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ipa/gsi_trans.c b/drivers/net/ipa/gsi_trans.c index cf8ee4237354..472792992f86 100644 --- a/drivers/net/ipa/gsi_trans.c +++ b/drivers/net/ipa/gsi_trans.c @@ -410,8 +410,7 @@ void gsi_trans_free(struct gsi_trans *trans) /* Add an immediate command to a transaction */ void gsi_trans_cmd_add(struct gsi_trans *trans, void *buf, u32 size, - dma_addr_t addr, enum dma_data_direction direction, - enum ipa_cmd_opcode opcode) + dma_addr_t addr, enum ipa_cmd_opcode opcode) { u32 which = trans->used++; struct scatterlist *sg; |