diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-23 21:17:55 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-01-23 23:20:11 +0300 |
commit | 727cbfea623b78d46ce8e0f8c931b5189f3fe2e0 (patch) | |
tree | 43876fa45e56611fd9901f1b943be7438adbc518 /fs/orangefs/orangefs-kernel.h | |
parent | eab9b38939fae1b7731570478718a5d1b2f28ea9 (diff) | |
download | linux-727cbfea623b78d46ce8e0f8c931b5189f3fe2e0.tar.xz |
orangefs: get rid of MSECS_TO_JIFFIES
All timeouts are in _seconds_, so all calls are of form
MSECS_TO_JIFFIES(n * 1000), which is a convoluted way to
spell n * HZ.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index f96ec3da6b00..2b72806d0f68 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -80,11 +80,6 @@ sizeof(__u64) + sizeof(struct orangefs_upcall_s)) #define MAX_DEV_REQ_DOWNSIZE (2 * sizeof(__s32) + \ sizeof(__u64) + sizeof(struct orangefs_downcall_s)) -/* borrowed from irda.h */ -#ifndef MSECS_TO_JIFFIES -#define MSECS_TO_JIFFIES(ms) (((ms)*HZ+999)/1000) -#endif - /* * valid orangefs kernel operation states * |