[PATCH net-next 0/2] net: ipa: don't cache channel state

From: Alex Elder
Date: Thu Apr 30 2020 - 18:13:33 EST


This series removes a field that holds a copy of a channel's state
at the time it was last fetched. In principle the state can change
at any time, so it's better to just fetch it whenever needed. The
first patch is just preparatory, simplifying the arguments to
gsi_channel_state().

-Alex

Alex Elder (2):
net: ipa: pass channel pointer to gsi_channel_state()
net: ipa: do not cache channel state

drivers/net/ipa/gsi.c | 94 ++++++++++++++++++++++++++-----------------
drivers/net/ipa/gsi.h | 3 +-
2 files changed, 59 insertions(+), 38 deletions(-)

--
2.20.1