mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
xhci: dbc: remove endpoint pointers from dbc_port structure
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>
This commit is contained in:
parent
e0aa56dc7b
commit
4ee0e36643
@ -110,8 +110,6 @@ struct dbc_port {
|
||||
struct kfifo write_fifo;
|
||||
|
||||
bool registered;
|
||||
struct dbc_ep *in;
|
||||
struct dbc_ep *out;
|
||||
};
|
||||
|
||||
struct xhci_dbc {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user