diff options
author | Jett Rink <jettrink@chromium.org> | 2018-08-31 09:11:14 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-17 21:35:01 -0700 |
commit | a914c8df696d4fd8cc8d7bbdfe99da539606fcf9 (patch) | |
tree | 8c0548d615e8bb84de4b04effb0f945ab7fda891 /board/nocturne | |
parent | 3552760ea58d796a7fb27b3c32d7a0ce8243f6fa (diff) | |
download | chrome-ec-a914c8df696d4fd8cc8d7bbdfe99da539606fcf9.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/nocturne')
-rw-r--r-- | board/nocturne/board.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/nocturne/board.c b/board/nocturne/board.c index fd61390cc1..5d3f494127 100644 --- a/board/nocturne/board.c +++ b/board/nocturne/board.c @@ -300,16 +300,13 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = { }, }; -/* The port_addr members are PD port numbers, not I2C port numbers. */ struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = { { - .port_addr = 0, .driver = &tcpci_tcpm_usb_mux_driver, .hpd_update = &ps8xxx_tcpc_update_hpd_status, }, { - .port_addr = 1, .driver = &tcpci_tcpm_usb_mux_driver, .hpd_update = &ps8xxx_tcpc_update_hpd_status, }, |