diff options
| author | Marc Kleine-Budde <[email protected]> | 2020-12-20 14:02:29 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-01-27 10:01:46 +0100 |
| commit | 9845b8f530196fd86fcc46c1c1298bf94b1604bf (patch) | |
| tree | b9fa2fb5597961befb57eb8b94fcff1664bb4246 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | cdc4c698e4be256634e722494dac0fa40e4137e2 (diff) | |
can: mcp251xfd: mcp251xfd_start_xmit(): use mcp251xfd_get_tx_free() to check TX is is full
This patch replaces an open coded check if the TX ring is full by a check if
mcp251xfd_get_tx_free() returns 0.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions