diff options
author | André Draszik <[email protected]> | 2024-07-10 11:36:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-07 12:49:30 +0200 |
commit | 064e7e5a5d5f489cbce34ec8efe39199bfa7e1f7 (patch) | |
tree | b1d0a55e6863850630b289ea634a61b4aba68a0a /tools/perf/scripts/python | |
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 <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions