From 153e38761d27f29edf436f11da3dbfb4fb8edcc1 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Sat, 10 Dec 2011 02:12:29 +0100 Subject: [PATCH] staging: line6: eliminate useless index_out variable Playback urbs use the index_out counter to decide which part of the playback buffer to use. Since the urb already has a unique index in range [0, LINE6_ISO_BUFFERS) there is no need to keep a separate counter. Use the urb index instead. This also eliminates the possibility of two urbs using the same playback buffer space if they ever complete out-of-order for some reason. Signed-off-by: Stefan Hajnoczi Signed-off-by: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed