]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
xhci: dbc: remove endpoint pointers from dbc_port structure
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 23 Jul 2020 14:45:26 +0000 (17:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 15:05:28 +0000 (17:05 +0200)
dbctty no longer needs references directly to dbc endpoints,
so remove them

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200723144530.9992-24-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgcap.h
drivers/usb/host/xhci-dbgtty.c

index fe360cf712c158b02c51a878b5e60bab3667d32c..796cf2808be8f6cdcbd6fe6a016c5c3f45318fcf 100644 (file)
@@ -110,8 +110,6 @@ struct dbc_port {
        struct kfifo                    write_fifo;
 
        bool                            registered;
-       struct dbc_ep                   *in;
-       struct dbc_ep                   *out;
 };
 
 struct xhci_dbc {
index 9886d42e1ff2b20bb9a8bd932a7ca9330ebac4ea..ab2b82aa04becfffebd20a4fc1fd785aaea49757 100644 (file)
@@ -426,8 +426,6 @@ xhci_dbc_tty_init_port(struct xhci_dbc *dbc, struct dbc_port *port)
        INIT_LIST_HEAD(&port->read_queue);
        INIT_LIST_HEAD(&port->write_pool);
 
-       port->in =              get_in_ep(dbc);
-       port->out =             get_out_ep(dbc);
        port->port.ops =        &dbc_port_ops;
        port->n_read =          0;
 }