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/nami/board.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/nami/board.c') diff --git a/board/nami/board.c b/board/nami/board.c index cb5efe7bf6..75bfa139ec 100644 --- a/board/nami/board.c +++ b/board/nami/board.c @@ -228,12 +228,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 = USB_PD_PORT_PS8751, .driver = &tcpci_tcpm_usb_mux_driver, .hpd_update = &ps8xxx_tcpc_update_hpd_status, }, { - .port_addr = USB_PD_PORT_ANX7447, .driver = &anx7447_usb_mux_driver, .hpd_update = &anx7447_tcpc_update_hpd_status, } -- cgit v1.2.1