diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-10-07 18:32:31 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-10-07 18:32:31 +0900 |
| commit | a87cf01800575578c9db83acfb137b261296da52 (patch) | |
| tree | 5b7e317a5bb576050b76a07e8b644f61cb51d237 /tools/lib/python/kdoc | |
| parent | 8487a3a876eea696f1eaf4b477d2e9cc336bc436 (diff) | |
firewire: core: expand close_transaction() into its callers and remove it
The return value from close_transaction() is useful only in
fw_cancel_transaction(). The other caller,
transmit_complete_callback(), simply discards it.
Additionally, the pending transaction queue should be enumerated as soon
as possible to prevent the issued transaction from completing.
Expand close_transaction() into its callers, and remove it.
In the find_and_pop_transaction_entry() macro, a local variable provides
the evaluation result, however transmit_complete_callback() uses the same
local variable for another purpose. Add an underscore prefix to the one
in the macro to avoid the unexpected result.
Link: https://lore.kernel.org/r/20261007093235.175742-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
