bfs: bfad_worker cleanup
authorJiri Slaby <jslaby@suse.cz>
Thu, 16 Apr 2015 19:48:29 +0000 (12:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:09 +0000 (09:04 -0400)
commit8f7d3f0f1ed5dce6ea7b833ec19cabe61a6e7ff8
tree13c3c078fa99b279ffe72a09b1a326c95a97cf25
parentc8f33d0bec999a4f2b5c3f9380361b88ce6f6ab0
bfs: bfad_worker cleanup

This kthread is not loop at all due to break at the end of the loop.  Make
that function linear, with no while loop.

And remove an unnecessary cast.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/bfa/bfad.c