Commit a5b669f4 authored by Johan Hovold's avatar Johan Hovold

USB: serial: visor: drop redundant calc_num_ports callback

Drop the redundant calc_num_ports callback from the clie_5 type, for
which the callback always returns zero and hence falls back to the type
num_ports value (2).
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent c0dcf242
...@@ -197,7 +197,6 @@ static struct usb_serial_driver clie_5_device = { ...@@ -197,7 +197,6 @@ static struct usb_serial_driver clie_5_device = {
.unthrottle = usb_serial_generic_unthrottle, .unthrottle = usb_serial_generic_unthrottle,
.attach = clie_5_attach, .attach = clie_5_attach,
.probe = visor_probe, .probe = visor_probe,
.calc_num_ports = visor_calc_num_ports,
.read_int_callback = visor_read_int_callback, .read_int_callback = visor_read_int_callback,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment