diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-07-09 11:46:13 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-10 20:55:04 -0400 |
commit | 45a66c1c3ff88e8050dd25e81bafdf79a12a8042 (patch) | |
tree | 05b8ae20d034ffe16e0f13b51f43aa9f93eddf2f /include/linux/libata.h | |
parent | 4c75f7416f51b0c6855952467a5db04f9c598f09 (diff) | |
download | linux-45a66c1c3ff88e8050dd25e81bafdf79a12a8042.tar.gz linux-45a66c1c3ff88e8050dd25e81bafdf79a12a8042.tar.bz2 linux-45a66c1c3ff88e8050dd25e81bafdf79a12a8042.zip |
libata-core: convert to use cancel_rearming_delayed_work()
We should not use cancel_work_sync(delayed_work->work). This works, but not
good. We can use cancel_rearming_delayed_work(), this also simplifies the
code.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index a3df64677ac3..bf98d44c8109 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -196,7 +196,6 @@ enum { ATA_PFLAG_SCSI_HOTPLUG = (1 << 6), /* SCSI hotplug scheduled */ ATA_PFLAG_INITIALIZING = (1 << 7), /* being initialized, don't touch */ - ATA_PFLAG_FLUSH_PORT_TASK = (1 << 16), /* flush port task */ ATA_PFLAG_SUSPENDED = (1 << 17), /* port is suspended (power) */ ATA_PFLAG_PM_PENDING = (1 << 18), /* PM operation pending */ ATA_PFLAG_GTM_VALID = (1 << 19), /* acpi_gtm data valid */ |