OSDN Git Service

net: ipa: get rid of ipa_cmd_info->direction
authorAlex Elder <elder@linaro.org>
Sun, 22 May 2022 00:32:20 +0000 (19:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 19:46:12 +0000 (20:46 +0100)
commit7ffba3bdf76a7bf93ec2dc56369ea563dea92b7c
treec1a6ee298cc3de79a02f70aa4b587ba4aeb40c2e
parent2091c79ac4deb4f4dd6c5b223d50f4536e3265a2
net: ipa: get rid of ipa_cmd_info->direction

The direction field of the ipa_cmd_info structure is set, but never
used.  It seems it might have been used for the DMA_SHARED_MEM
immediate command, but the DIRECTION flag is set based on the value
of the passed-in direction flag there.

Anyway, remove this unused field from the ipa_cmd_info structure.
This is done as a separate patch to make it very obvious that it's
not required.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi_trans.c
drivers/net/ipa/ipa_cmd.h