From 89067fc458d8533a74e45a1285091dda7a96669e Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Tue, 13 Oct 2015 13:51:26 -0700 Subject: cleanup: pd: remove duplicate code for checking request msg Remove duplicate code for checking request message, but keep a board specific check of the request message for custom checks needed on zinger and plankton. BUG=chrome-os-partner:42490 BRANCH=none TEST=make -j buildall. run on samus and connect a hoho, make sure we successfully negotiate a contract. Change-Id: I7398953a158d340e3e113f5a816b55445a857711 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/305374 Reviewed-by: Vincent Palatin --- board/dingdong/usb_pd_policy.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'board/dingdong/usb_pd_policy.c') diff --git a/board/dingdong/usb_pd_policy.c b/board/dingdong/usb_pd_policy.c index 06d2355b4a..69d7f2d811 100644 --- a/board/dingdong/usb_pd_policy.c +++ b/board/dingdong/usb_pd_policy.c @@ -50,11 +50,6 @@ int pd_is_valid_input_voltage(int mv) return 1; } -int pd_check_requested_voltage(uint32_t rdo) -{ - return EC_SUCCESS; -} - void pd_transition_voltage(int idx) { /* No operation: sink only */ -- cgit v1.2.1