mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
ext4: remove write-only variables from ext4_ordered_write_end
The variables 'from' and 'to' are not used anywhere. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Acked-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
00b32b7fb6
commit
7d55992d60
1 changed files with 0 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue