diff options
author | Caveh Jalali <caveh@chromium.org> | 2022-04-16 13:45:05 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-19 22:09:15 +0000 |
commit | 3666c59b572f298a8ae6b802e4f0fc8d6d9bc0ff (patch) | |
tree | 2a504b3f614599cd4c4d96e51a3f20180afe108b | |
parent | 6b3a0839404611c18b9dcee800688871414b49a3 (diff) | |
download | chrome-ec-3666c59b572f298a8ae6b802e4f0fc8d6d9bc0ff.tar.gz |
TCPMv2: Remove unused pe_[sg]et_all_flags functions
BRANCH=none
BUG=b:229655319
TEST=buildall passes. compare_builds passes
Change-Id: I1529f65d6385e046c40ff502ba65b1db6397eafd
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3591908
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r-- | common/usbc/usb_pe_drp_sm.c | 8 | ||||
-rw-r--r-- | test/usb_pe.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c index 4135959a24..3a002246aa 100644 --- a/common/usbc/usb_pe_drp_sm.c +++ b/common/usbc/usb_pe_drp_sm.c @@ -7774,14 +7774,6 @@ int pe_chk_flag(int port, int flag) { return PE_CHK_FLAG(port, flag); } -int pe_get_all_flags(int port) -{ - return pe[port].flags; -} -void pe_set_all_flags(int port, int flags) -{ - pe[port].flags = flags; -} void pe_clr_dpm_requests(int port) { pe[port].dpm_request = 0; diff --git a/test/usb_pe.h b/test/usb_pe.h index a4967d02e5..9f64435e11 100644 --- a/test/usb_pe.h +++ b/test/usb_pe.h @@ -150,8 +150,6 @@ enum usb_pe_state get_state_pe(const int port); void pe_set_flag(int port, int flag); void pe_clr_flag(int port, int flag); int pe_chk_flag(int port, int flag); -int pe_get_all_flags(int port); -void pe_set_all_flags(int port, int flags); void pe_clr_dpm_requests(int port); #endif /* __CROS_TEST_USB_PE_H */ |