summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/usb_pd_protocol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c
index f85efa6717..fc8b28f29f 100644
--- a/common/usb_pd_protocol.c
+++ b/common/usb_pd_protocol.c
@@ -393,7 +393,6 @@ int pd_is_vbus_present(int port)
#endif
}
-#ifdef CONFIG_USBC_VIRTUAL_MUX_RETIMER
/**
* This function checks the current CC status of the port partner
* and returns true if the attached partner is UFP.
@@ -410,7 +409,6 @@ int pd_is_debug_acc(int port)
return pd[port].cc_state == PD_CC_UFP_DEBUG_ACC ||
pd[port].cc_state == PD_CC_DFP_DEBUG_ACC;
}
-#endif
static void set_polarity(int port, int polarity)
{