diff options
| author | Ilya Dryomov <idryomov@gmail.com> | 2015-05-15 04:52:20 -0400 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2015-06-25 04:49:29 -0400 |
| commit | d50c97b566c5bbf990eff472e9feaa58fdebdd33 (patch) | |
| tree | 28f17f5c5fe47fc977d4ff5a2c0386f1190ca395 /include/linux | |
| parent | e8a7b8b12b13831467c6158c1e82801e25b5dd98 (diff) | |
libceph: nuke time_sub()
Unused since ceph got merged into mainline I guess.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ceph/libceph.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 30f92cefaa72..85ae9a889a3f 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
| @@ -93,15 +93,6 @@ enum { | |||
| 93 | CEPH_MOUNT_SHUTDOWN, | 93 | CEPH_MOUNT_SHUTDOWN, |
| 94 | }; | 94 | }; |
| 95 | 95 | ||
| 96 | /* | ||
| 97 | * subtract jiffies | ||
| 98 | */ | ||
| 99 | static inline unsigned long time_sub(unsigned long a, unsigned long b) | ||
| 100 | { | ||
| 101 | BUG_ON(time_after(b, a)); | ||
| 102 | return (long)a - (long)b; | ||
| 103 | } | ||
| 104 | |||
| 105 | struct ceph_mds_client; | 96 | struct ceph_mds_client; |
| 106 | 97 | ||
| 107 | /* | 98 | /* |
