History

libceph: nuke time_sub()

Unused since ceph got merged into mainline I guess.

Ilya Dryomov committed 11 years ago

Commit d50c97b1 parent e8a7b8b1 file · +0 −9Browse files

Showing the changes to include/linux/ceph (1 of 1 file). Show all

Unified · Split

include/linux/ceph/libceph.h+0−9
@@ -93,15 +93,6 @@ enum { · 92 unmodified lines
93 CEPH_MOUNT_SHUTDOWN,93 CEPH_MOUNT_SHUTDOWN,
94};94};
95 95
96/*
97 * subtract jiffies
98 */
99static 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
105struct ceph_mds_client;96struct ceph_mds_client;
106 97
107/*98/*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t