summaryrefslogtreecommitdiff
path: root/board/nami/board.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-08-31 09:11:14 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-09-17 21:35:01 -0700
commita914c8df696d4fd8cc8d7bbdfe99da539606fcf9 (patch)
tree8c0548d615e8bb84de4b04effb0f945ab7fda891 /board/nami/board.c
parent3552760ea58d796a7fb27b3c32d7a0ce8243f6fa (diff)
downloadchrome-ec-2.0.0.tar.gz
ss-mux: remove unused port_addr initializationv2.0.0
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 <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1200064 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/nami/board.c')
-rw-r--r--board/nami/board.c2
1 files changed, 0 insertions, 2 deletions
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,
}