summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-fsl-flexspi.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2023-01-25 14:45:38 -0600
committerDavid S. Miller <davem@davemloft.net>2023-01-27 11:16:28 +0000
commit63a560b5289a0f9d66d099fb093c20b0abe01027 (patch)
treef661c2fcc38143733c64bd2791c20fe4180b1c0b /drivers/clk/clk-fsl-flexspi.c
parentc8005511f38757ef071b34c0a98cf3d8a1c920a7 (diff)
net: ipa: refactor status buffer parsing
The packet length encoded in an IPA packet status buffer is computed more than once in ipa_endpoint_status_parse(). It is also checked again in ipa_endpoint_status_skip(), which that function calls. Compute the length once, and use that computed value later rather than recomputing it. Check for it being zero in the parse function rather than in ipa_endpoint_status_skip(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/clk-fsl-flexspi.c')
0 files changed, 0 insertions, 0 deletions