diff options
author | André Draszik <andre.draszik@linaro.org> | 2024-07-10 11:36:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-07 12:49:30 +0200 |
commit | 064e7e5a5d5f489cbce34ec8efe39199bfa7e1f7 (patch) | |
tree | b1d0a55e6863850630b289ea634a61b4aba68a0a /tools/perf/scripts/python/syscall-counts.py | |
parent | 57e154cc44d23802dcce6a9bcb210735a43cd201 (diff) |
usb: typec: tcpm/tcpci_maxim: simplify clearing of TCPC_ALERT_RX_BUF_OVF
There is no need for using the ternary if/else here, simply mask
TCPC_ALERT_RX_BUF_OVF as necessary, which arguably makes the code
easier to read.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240710-tcpc-cleanup-v1-9-0ec1f41f4263@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions