Skip to content

Commit

Permalink
ALSA: sound/usb/usx2y: fix sparse warning: do-while statement is not …
Browse files Browse the repository at this point in the history
…a compound ...

Fix this sparse warning:
  sound/usb/usx2y/usbusx2y.c:231:33: warning: do-while statement is not a compound statement

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Feb 26, 2009
1 parent 6193898 commit 3a755ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/usb/usx2y/usbusx2y.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ static void i_usX2Y_In04Int(struct urb *urb)

if (usX2Y->US04) {
if (0 == usX2Y->US04->submitted)
do
do {
err = usb_submit_urb(usX2Y->US04->urb[usX2Y->US04->submitted++], GFP_ATOMIC);
while (!err && usX2Y->US04->submitted < usX2Y->US04->len);
} while (!err && usX2Y->US04->submitted < usX2Y->US04->len);
} else
if (us428ctls && us428ctls->p4outLast >= 0 && us428ctls->p4outLast < N_us428_p4out_BUFS) {
if (us428ctls->p4outLast != us428ctls->p4outSent) {
Expand Down

0 comments on commit 3a755ec

Please sign in to comment.