From: Stefan Hajnoczi Date: Sat, 10 Dec 2011 01:12:29 +0000 (+0100) Subject: staging: line6: eliminate useless index_out variable X-Git-Tag: v3.3-rc1~152^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=153e38761d27f29edf436f11da3dbfb4fb8edcc1;p=pandora-kernel.git 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-diff-tree failed