diff options
Diffstat (limited to 'common/usbc/usb_tc_vpd_sm.c')
-rw-r--r-- | common/usbc/usb_tc_vpd_sm.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/usbc/usb_tc_vpd_sm.c b/common/usbc/usb_tc_vpd_sm.c index 479701d6b8..51847aa23c 100644 --- a/common/usbc/usb_tc_vpd_sm.c +++ b/common/usbc/usb_tc_vpd_sm.c @@ -39,8 +39,6 @@ static struct type_c { uint8_t data_role; /* Higher-level power deliver state machines are enabled if true. */ uint8_t pd_enable; - /* event timeout */ - uint64_t evt_timeout; /* port flags, see TC_FLAGS_* */ uint32_t flags; /* Time a port shall wait before it can determine it is attached */ @@ -95,7 +93,6 @@ void tc_state_init(int port) /* Disable pd state machines */ tc[port].pd_enable = 0; - tc[port].evt_timeout = 10*MSEC; tc[port].power_role = PD_PLUG_CABLE_VPD; tc[port].data_role = 0; /* Reserved for VPD */ tc[port].flags = 0; @@ -128,16 +125,6 @@ void tc_set_power_role(int port, int role) tc[port].power_role = role; } -uint64_t tc_get_timeout(int port) -{ - return tc[port].evt_timeout; -} - -void tc_set_timeout(int port, uint64_t timeout) -{ - tc[port].evt_timeout = timeout; -} - void tc_event_check(int port, int evt) { /* Do Nothing */ |