summaryrefslogtreecommitdiff
path: root/block/bio-integrity.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-06 20:19:42 +0300
committerDavid S. Miller <davem@davemloft.net>2022-09-09 13:45:25 +0300
commit019e37eaef97d99285390b6eb42410a54a5d6412 (patch)
tree44b0dce2f682ec745122d4e78f2a3ad1dea5d864 /block/bio-integrity.c
parente0e3406c60d7e5b004cc3059dea6c7574d26ca66 (diff)
downloadlinux-019e37eaef97d99285390b6eb42410a54a5d6412.tar.xz
net: ipa: don't have gsi_channel_update() return a value
If it finds no completed transactions, gsi_channel_trans_complete() calls gsi_channel_update() to check hardware. If new transactions have completed, gsi_channel_update() records that, then calls gsi_channel_trans_complete() to return the first of those found. This recursion won't go any further, but can be avoided if we have gsi_channel_update() only be responsible for updating state after accessing hardware. Change gsi_channel_update() so it simply checks for and handles new completions, without returning a value. If it needs to call that function, have gsi_channel_trans_complete() determine whether there are new transactions available after the update. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions