summaryrefslogtreecommitdiff
path: root/common/usb_pd_policy.c
diff options
context:
space:
mode:
authorDivya Sasidharan <divya.s.sasidharan@intel.com>2018-04-05 10:55:24 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-04-09 15:19:00 -0700
commit7e1ce92219a24dc35cb8eddad0da4180ddc8265f (patch)
tree1671d694cf363bf2a2c6cfae22f735df0f0dcef4 /common/usb_pd_policy.c
parent18096899bdd36a7bd8cc957e6d7aad9b9143e42d (diff)
downloadchrome-ec-7e1ce92219a24dc35cb8eddad0da4180ddc8265f.tar.gz
cleanup: CONFIG_USB_PD_CUSTOM_VDM is not used
The pd_custom_vdm is called in common/usb_pd_protocol no matter you have this defined or not. No where else I see pd_vdm being used. So we should not have to deal with this CONFIG_USB_PD_CUSTOM_VDM. BUG=None BRANCH=None TEST=make buildall -j Change-Id: I4e8b710240ee27b12625d797e7824f29044e6462 Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com> Reviewed-on: https://chromium-review.googlesource.com/998520 Commit-Ready: Divya S Sasidharan <divya.s.sasidharan@intel.com> Tested-by: Divya S Sasidharan <divya.s.sasidharan@intel.com> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'common/usb_pd_policy.c')
-rw-r--r--common/usb_pd_policy.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/usb_pd_policy.c b/common/usb_pd_policy.c
index 01784e87ad..63e1b4811d 100644
--- a/common/usb_pd_policy.c
+++ b/common/usb_pd_policy.c
@@ -842,13 +842,6 @@ int pd_svdm(int port, int cnt, uint32_t *payload, uint32_t **rpayload)
#endif /* CONFIG_USB_PD_ALT_MODE */
-#ifndef CONFIG_USB_PD_CUSTOM_VDM
-int pd_vdm(int port, int cnt, uint32_t *payload, uint32_t **rpayload)
-{
- return 0;
-}
-#endif /* !CONFIG_USB_PD_CUSTOM_VDM */
-
static void pd_usb_billboard_deferred(void)
{
#if defined(CONFIG_USB_PD_ALT_MODE) && !defined(CONFIG_USB_PD_ALT_MODE_DFP) \