]> 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)
commit48fcc3159985cfe333f7d38270106d4c2f3b8b61
tree13c3c078fa99b279ffe72a09b1a326c95a97cf25
parent25ec73b9d11ddcefc8b1af805f3393d8df98c5bb
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