summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-07-23 14:11:40 +0200
committerIlya Dryomov <idryomov@gmail.com>2018-08-02 21:33:20 +0200
commitf7e52d8efe8588c5d4b4c78eb33da81d89486c1a (patch)
treecef5d76a88ae4b5f0bce18ed913fc344a6ee2eb4
parent0ed1e90a09eb0e2863cab43e1ed5c5df89566772 (diff)
downloadlinux-stable-f7e52d8efe8588c5d4b4c78eb33da81d89486c1a.tar.gz
linux-stable-f7e52d8efe8588c5d4b4c78eb33da81d89486c1a.tar.bz2
linux-stable-f7e52d8efe8588c5d4b4c78eb33da81d89486c1a.zip
libceph: remove now unused ceph_{en,de}code_timespec()
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r--include/linux/ceph/decode.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/ceph/decode.h b/include/linux/ceph/decode.h
index 094b9b4a34f3..a6c2a48d42e0 100644
--- a/include/linux/ceph/decode.h
+++ b/include/linux/ceph/decode.h
@@ -214,18 +214,6 @@ static inline void ceph_encode_timespec64(struct ceph_timespec *tv,
tv->tv_sec = cpu_to_le32((u32)ts->tv_sec);
tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec);
}
-static inline void ceph_decode_timespec(struct timespec *ts,
- const struct ceph_timespec *tv)
-{
- ts->tv_sec = (__kernel_time_t)le32_to_cpu(tv->tv_sec);
- ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec);
-}
-static inline void ceph_encode_timespec(struct ceph_timespec *tv,
- const struct timespec *ts)
-{
- tv->tv_sec = cpu_to_le32((u32)ts->tv_sec);
- tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec);
-}
/*
* sockaddr_storage <-> ceph_sockaddr