USB: serial: visor: drop redundant calc_num_ports callback
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:51 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 09:14:11 +0000 (11:14 +0200)
commita5b669f4c60e0bbb55b36e71ac4e273ab95160f3
tree0960d3253391c9cb4bb68b410b7c1c755f06ee13
parentc0dcf242d27a785930d73885471b368798720718
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>
drivers/usb/serial/visor.c