From 2082d4c8f0ac03a1f318031ea55609e4debd1146 Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Wed, 21 Aug 2019 14:58:44 -0700 Subject: hatch: Remove unused board_set_vconn function This function had been incorrectly added to baseboard.c, but was never required to be there. This CL removes this unsed function. BUG=b:139761723 BRANCH=None TEST='make BOARD=hatch' Change-Id: I9025fc6c7a49742186e520fdd09525e4ba256b47 Signed-off-by: Scott Collyer Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1764709 Tested-by: Scott Collyer Reviewed-by: Aseda Aboagye Commit-Queue: Scott Collyer --- baseboard/hatch/baseboard.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c index 040c2f2659..003fc6c755 100644 --- a/baseboard/hatch/baseboard.c +++ b/baseboard/hatch/baseboard.c @@ -243,17 +243,6 @@ void board_reset_pd_mcu(void) BOARD_TCPC_C1_RESET_POST_DELAY); } -void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled) -{ - /* - * We ignore the cc_pin because the polarity should already be set - * correctly in the PPC driver via the pd state machine. - */ - if (ppc_set_vconn(port, enabled) != EC_SUCCESS) - cprints(CC_USBPD, "C%d: Failed %sabling vconn", - port, enabled ? "en" : "dis"); -} - int board_set_active_charge_port(int port) { int is_valid_port = (port >= 0 && -- cgit v1.2.1