diff options
| author | Johan Hovold <[email protected]> | 2017-03-16 17:13:47 +0100 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2017-03-28 11:00:12 +0200 |
| commit | 95254020235aa0c0f12bfb7d9b4cd18730dfc499 (patch) | |
| tree | 46e5f4b1123fb4a988e903ec39de50082effcbc9 /net/unix/af_unix.c | |
| parent | 6a1eaf19f525ed9e4fa09ed1f05c6502a90b4ccb (diff) | |
USB: serial: mos7840: clean up endpoint sanity check
Clean up the endpoint sanity check by letting core verify the single
interrupt endpoint, and verifying the bulk endpoints in calc_num_ports
after having determined the number of ports.
Note that the static type num_ports field was neither correct or used
(since calc_num_ports never returns zero).
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions