bfs: bfad_worker cleanup
authorJiri Slaby <[email protected]>
Thu, 16 Apr 2015 19:48:29 +0000 (12:48 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Anil Gurumurthy <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/scsi/bfa/bfad.c