[SCSI] sg: remove while (1) non-loop
authorJörn Engel <joern@logfs.org>
Thu, 12 Apr 2012 21:32:48 +0000 (17:32 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 17 May 2012 09:08:52 +0000 (10:08 +0100)
commit794c10fa0fa4d1781c5651c31e3d4d0b71629128
treea671c2930cf5ee050f50bb511bfe83ea20c07ccc
parentdddbf8d908e89afb14a49502f568d2a2b814436d
[SCSI] sg: remove while (1) non-loop

The while (1) construct isn't actually a loop at all.  So let's not
pretent and obfuscate the code.

Signed-off-by: Joern Engel <joern@logfs.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sg.c