Alexey Kardashevskiy f81bb347ef xhci: Fix possible side effect from assert()
A static analysis tool called BEAM detected possible side effect from
assert() calling a helper which may change an XHCI ring after every call.

This moves xhci_ring_fetch() out of assert() so it will be called
with and without enabled debug.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-id: 1468812548-31868-1-git-send-email-aik@ozlabs.ru
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-07-20 13:31:09 +02:00
..
2016-07-14 16:51:39 +01:00
2016-07-18 15:10:52 +01:00
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-07-17 09:59:21 +02:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-07-06 10:52:03 +02:00
2016-01-29 15:07:25 +00:00
2016-06-24 05:13:57 +03:00
2016-07-12 12:34:41 +01:00
2016-07-18 10:55:17 -06:00
2015-12-22 18:39:19 +02:00