summaryrefslogtreecommitdiff
path: root/fs/orangefs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/orangefs-kernel.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index b6f52e3fee7f..c045c0b89507 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -662,15 +662,4 @@ static inline void orangefs_i_size_write(struct inode *inode, loff_t i_size)
#endif
}
-static inline unsigned int diff(struct timeval *end, struct timeval *begin)
-{
- if (end->tv_usec < begin->tv_usec) {
- end->tv_usec += 1000000;
- end->tv_sec--;
- }
- end->tv_sec -= begin->tv_sec;
- end->tv_usec -= begin->tv_usec;
- return (end->tv_sec * 1000000) + end->tv_usec;
-}
-
#endif /* __ORANGEFSKERNEL_H */