X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fhardlink.c;h=7aedf8e1629cb6ca44a5cc0bc896512d143b69ed;hb=9b1647d673092a6c53a90c1d89831a5131660b9d;hp=26c9e05d5e50b343c10944c74175ad048316e387;hpb=eb066ffe5f37eae975c285cbbfc377247b0d60ff;p=wimlib diff --git a/src/hardlink.c b/src/hardlink.c index 26c9e05d..7aedf8e1 100644 --- a/src/hardlink.c +++ b/src/hardlink.c @@ -75,12 +75,6 @@ static size_t inode_link_count(const struct inode *inode) return size; } -static struct dentry *inode_first_dentry(struct inode *inode) -{ - return container_of(inode->dentry_list.next, struct dentry, - inode_dentry_list); -} - /* * Insert a dentry into the inode table based on its inode * ID.