diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 19:13:51 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 12:14:11 +0300 |
commit | a5b669f4c60e0bbb55b36e71ac4e273ab95160f3 (patch) | |
tree | 0960d3253391c9cb4bb68b410b7c1c755f06ee13 | |
parent | c0dcf242d27a785930d73885471b368798720718 (diff) | |
download | linux-a5b669f4c60e0bbb55b36e71ac4e273ab95160f3.tar.xz |
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: Johan Hovold <johan@kernel.org>
-rw-r--r-- | drivers/usb/serial/visor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 3f943f877ac2..8b4429e4a73c 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c @@ -197,7 +197,6 @@ static struct usb_serial_driver clie_5_device = { .unthrottle = usb_serial_generic_unthrottle, .attach = clie_5_attach, .probe = visor_probe, - .calc_num_ports = visor_calc_num_ports, .read_int_callback = visor_read_int_callback, }; |