]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42aa351c520006eac942f7cd3957ed66c3c65db3
tree13c3c078fa99b279ffe72a09b1a326c95a97cf25
parent21addb607b992cd20b8d644aeae13e93c9433b24
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