diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-30 13:04:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:20:04 +0200 |
| commit | 91709d2ce5cdf568b42fcc33473929843ed95cd3 (patch) | |
| tree | fb97c8c32ba2ea7277ec4d48c265ea1d7c72b4fd /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 3474a19736f39516cffced66dcfb818be6abf2f4 (diff) | |
usb: ucsi: stm32: Use min() to improve ucsi_stm32g0_fw_cb()
Use min() to improve ucsi_stm32g0_fw_cb() and avoid calculating
'end - data' twice.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250830110426.10007-2-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
