]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla4xxx: Remove AF_DPC_SCHEDULED flag from ha.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Wed, 18 May 2011 06:17:09 +0000 (23:17 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:40:02 +0000 (12:40 -0400)
commit1b46807e0bc6160449ce04a207fa98a694bc443c
tree9ebf09b3b4626872dc82148e8e3f3b965d586102
parent977f46a4bb58e2a8f4d287db311084e24c502b77
[SCSI] qla4xxx: Remove AF_DPC_SCHEDULED flag from ha.

Since queue_work does not requeue, there is no need to check
if a work is in progress using the AF_DPC_SCHEDULED flag.
queue_work would return if work is pending without adding the
work, do_dpc would again get invoked from qla4xxx_timer if
there is still DPC flags set.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_os.c