diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:41:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:41:08 -0700 |
| commit | b3dafee7dc88ed3690474512919d053eb97a281f (patch) | |
| tree | eb62bf1dcff912e10d72c18dfc6ab115d0c422df /include/linux | |
| parent | 5b59eadfbf215aa20885d06ce81f263df99cc009 (diff) | |
[PATCH] Covert drivers to use msec_to_jiffies
Remove various private implementations of msecs_to_jiffies() and
jiffies_to_msecs().
There are various uppercase versions which should be consolidated.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/libata.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index efcc745effae..a7551fae4c42 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -408,11 +408,6 @@ extern int ata_std_bios_param(struct scsi_device *sdev, extern int ata_scsi_slave_config(struct scsi_device *sdev); -static inline unsigned long msecs_to_jiffies(unsigned long msecs) -{ - return ((HZ * msecs + 999) / 1000); -} - static inline unsigned int ata_tag_valid(unsigned int tag) { return (tag < ATA_MAX_QUEUE) ? 1 : 0; |
