From: Ilya Dryomov Date: Fri, 15 May 2015 08:52:20 +0000 (+0300) Subject: libceph: nuke time_sub() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d50c97b566c5bbf990eff472e9feaa58fdebdd33;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git libceph: nuke time_sub() Unused since ceph got merged into mainline I guess. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- 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 { 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; /*