diff options
Diffstat (limited to 'common/usb_common.c')
-rw-r--r-- | common/usb_common.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/usb_common.c b/common/usb_common.c index 2ef12e9412..9d7159f81d 100644 --- a/common/usb_common.c +++ b/common/usb_common.c @@ -198,18 +198,6 @@ enum pd_cc_states pd_get_cc_state(enum tcpc_cc_voltage_status cc1, return PD_CC_NONE; } -/** - * This function checks the current CC status of the port partner - * and returns true if the attached partner is debug accessory. - */ -bool pd_is_debug_acc(int port) -{ - enum pd_cc_states cc_state = pd_get_task_cc_state(port); - - return cc_state == PD_CC_UFP_DEBUG_ACC || - cc_state == PD_CC_DFP_DEBUG_ACC; -} - __overridable int pd_board_check_request(uint32_t rdo, int pdo_cnt) { return EC_SUCCESS; |