From a914c8df696d4fd8cc8d7bbdfe99da539606fcf9 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Fri, 31 Aug 2018 09:11:14 -0600 Subject: ss-mux: remove unused port_addr initialization We do not need to set the port_addr variable most places because the SS-MUX is also the TCPC and the tcpc_config_t information is used instead. Remove unused variable setting to avoid confusion. BRANCH=none BUG=none TEST=buildall. phaser USB-C communication (and muxs) still work which is a nominal case for all of these changes. Change-Id: I72ee5da251956eb133091974e8dce5ac7f8787c6 Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/1200064 Commit-Ready: ChromeOS CL Exonerator Bot Reviewed-by: Edward Hill --- board/eve/board.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/eve') diff --git a/board/eve/board.c b/board/eve/board.c index e4ff6ad44a..df95551535 100644 --- a/board/eve/board.c +++ b/board/eve/board.c @@ -226,12 +226,10 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = { struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = { { - .port_addr = 0, .driver = &anx74xx_tcpm_usb_mux_driver, .hpd_update = &anx74xx_tcpc_update_hpd_status, }, { - .port_addr = 1, .driver = &anx74xx_tcpm_usb_mux_driver, .hpd_update = &anx74xx_tcpc_update_hpd_status, }, -- cgit v1.2.1