projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b32b7
)
ext4: remove write-only variables from ext4_ordered_write_end
author
Eric Sandeen
<sandeen@redhat.com>
Sun, 3 Aug 2008 01:22:18 +0000
(21:22 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 3 Aug 2008 01:22:18 +0000
(21:22 -0400)
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>
fs/ext4/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index 0080999d2cd4dff2a51d5b21e6841d797bf392d3..59fbbe899acc24a5817befbc67fda67ba427b3d1 100644
(file)
--- a/
fs/ext4/inode.c
+++ b/
fs/ext4/inode.c
@@
-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) {