Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d55992d authored by Eric Sandeen's avatar Eric Sandeen Committed by Theodore Ts'o
Browse files

ext4: remove write-only variables from ext4_ordered_write_end



The variables 'from' and 'to' are not used anywhere.

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Acked-by: default avatarMingming Cao <cmm@us.ibm.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 00b32b7f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1424,12 +1424,8 @@ static int ext4_ordered_write_end(struct file *file,
{
	handle_t *handle = ext4_journal_current_handle();
	struct inode *inode = mapping->host;
	unsigned from, to;
	int ret = 0, ret2;

	from = pos & (PAGE_CACHE_SIZE - 1);
	to = from + len;

	ret = ext4_jbd2_file_inode(handle, inode);

	if (ret == 0) {