diff options
author | Prashant Malani <[email protected]> | 2021-03-18 18:51:03 -0700 |
---|---|---|
committer | Enric Balletbo i Serra <[email protected]> | 2021-03-30 18:25:22 +0200 |
commit | 639ff208cb37c5a3f0198e62d04962b677d25c9c (patch) | |
tree | 5a1f059a6d047635e343e8856ef518a2f597a74d /tools/perf/util/trace-event-scripting.c | |
parent | dbc334fb411f2e87ca0e812dc7ba13464aa89504 (diff) |
platform/chrome: cros_ec_typec: Check for device within remove function
In a couple of call sites, we use the same pattern of checking for a
partner or cable device before attempting to remove it. Simplify this by
moving those checks into the remove functions.
Cc: Benson Leung <[email protected]>
Signed-off-by: Prashant Malani <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions