Liam Merwick
56090d78a7
usb: rearrange usb_ep_get()
...
There is no need to calculate the 'eps' variable in usb_ep_get()
if 'ep' is the control endpoint. Instead the calculation should
be done after validating the input before returning an entry
indexed by the endpoint 'ep'.
Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Darren Kenny <Darren.Kenny@oracle.com>
Reviewed-by: Mark Kanda <Mark.Kanda@oracle.com>
Reviewed-by: Ameya More <ameya.more@oracle.com>
Message-id: 1549460216-25808-2-git-send-email-liam.merwick@oracle.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-02-20 09:41:23 +01:00
..
2019-01-14 13:45:40 +00:00
2019-02-17 21:54:02 +11:00
2018-02-09 13:50:17 +01:00
2019-02-05 16:50:20 +01:00
2019-02-15 09:56:39 +00:00
2019-01-24 13:10:19 +01:00
2019-02-13 16:18:17 +08:00
2019-02-13 14:23:39 +01:00
2019-02-17 21:54:02 +11:00
2019-02-17 21:54:02 +11:00
2019-02-06 15:55:56 +01:00
2019-02-05 16:50:20 +01:00
2019-02-01 11:58:50 +01:00
2019-02-14 11:46:30 +01:00
2019-01-24 14:16:56 +00:00
2019-02-12 08:59:21 -08:00
2018-11-26 14:14:38 -02:00
2019-02-05 16:50:21 +01:00
2019-02-05 19:39:22 +00:00
2019-02-05 16:50:19 +01:00
2019-02-14 11:46:30 +01:00
2019-02-18 10:52:08 +11:00
2018-07-02 15:41:12 +02:00
2018-08-23 18:46:25 +02:00
2019-02-13 14:23:39 +01:00
2019-02-05 16:50:20 +01:00
2019-02-05 16:50:19 +01:00
2019-01-09 22:09:31 -02:00
2019-02-05 16:50:19 +01:00
2019-02-14 17:47:28 +01:00
2019-02-17 21:54:02 +11:00
2019-02-05 16:50:20 +01:00
2019-02-05 16:50:19 +01:00
2019-02-05 16:50:20 +01:00
2019-02-05 10:58:33 -05:00
2019-02-05 16:50:21 +01:00
2019-02-17 21:54:02 +11:00
2018-12-20 11:19:12 -05:00
2019-02-05 16:50:19 +01:00
2016-01-29 15:07:25 +00:00
2019-02-18 16:20:13 +00:00
2019-01-19 11:01:33 +02:00
2019-02-11 15:56:22 -08:00
2019-02-18 16:20:13 +00:00
2019-02-17 21:54:02 +11:00
2019-01-30 10:24:20 +01:00
2019-02-05 19:39:22 +00:00
2018-12-19 16:48:16 -05:00
2019-02-07 16:49:30 +00:00
2019-02-14 11:46:30 +01:00
2019-01-29 11:46:05 +00:00
2019-02-18 14:44:05 +01:00
2019-01-17 21:10:57 -05:00
2019-02-05 16:50:21 +01:00
2019-02-06 15:54:12 +01:00
2019-02-20 09:41:23 +01:00
2019-02-05 16:50:21 +01:00
2019-02-05 10:58:33 -05:00
2019-01-11 15:46:55 +01:00
2019-02-04 11:04:49 +00:00
2019-01-14 13:45:40 +00:00
2019-02-05 16:50:20 +01:00
2019-02-05 16:50:21 +01:00