Commit 3aca4712 authored by Jeff Layton's avatar Jeff Layton Committed by Al Viro
Browse files

fs: drop useless condition from inode_needs_update_time

parent 9abf2313
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2071,9 +2071,6 @@ static int inode_needs_update_time(struct inode *inode, struct timespec64 *now)
	if (IS_I_VERSION(inode) && inode_iversion_need_inc(inode))
		sync_it |= S_VERSION;

	if (!sync_it)
		return 0;

	return sync_it;
}