libceph: nuke time_sub()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 15 May 2015 08:52:20 +0000 (11:52 +0300)
committerIlya 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

index 30f92cefaa721d040d5f1e2d92ec16429f8c00e3..85ae9a889a3f835f0a8aa98323a18bb63efc5fc2 100644 (file)
@@ -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;
 
 /*