OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a7b8b
)
libceph: nuke time_sub()
author
Ilya Dryomov
<idryomov@gmail.com>
Fri, 15 May 2015 08:52:20 +0000
(11:52 +0300)
committer
Ilya Dryomov
<idryomov@gmail.com>
Thu, 25 Jun 2015 08:49:29 +0000
(11:49 +0300)
Unused since ceph got merged into mainline I guess.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
include/linux/ceph/libceph.h
patch
|
blob
|
history
diff --git
a/include/linux/ceph/libceph.h
b/include/linux/ceph/libceph.h
index
30f92ce
..
85ae9a8
100644
(file)
--- a/
include/linux/ceph/libceph.h
+++ b/
include/linux/ceph/libceph.h
@@
-93,15
+93,6
@@
enum {
CEPH_MOUNT_SHUTDOWN,
};
-/*
- * subtract jiffies
- */
-static inline unsigned long time_sub(unsigned long a, unsigned long b)
-{
- BUG_ON(time_after(b, a));
- return (long)a - (long)b;
-}
-
struct ceph_mds_client;
/*