Repository navigation
Commit 341d14f
Btrfs: Remove unused variable 'last_index' in file.c
The variable 'last_index' is calculated in the __btrfs_buffered_write
function and passed as a parameter to the prepare_pages function,
but is not used anywhere in the prepare_pages function.
Remove instances of 'last_index' in these functions.
Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>1 parent 69261c4 commit 341d14f
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
| 1062 | + | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | | - | |
1163 | 1162 | | |
1164 | 1163 | | |
1165 | 1164 | | |
| |||
1172 | 1171 | | |
1173 | 1172 | | |
1174 | 1173 | | |
1175 | | - | |
1176 | 1174 | | |
1177 | 1175 | | |
1178 | 1176 | | |
| |||
1206 | 1204 | | |
1207 | 1205 | | |
1208 | 1206 | | |
1209 | | - | |
1210 | | - | |
| 1207 | + | |
1211 | 1208 | | |
1212 | 1209 | | |
1213 | 1210 | | |
| |||
0 commit comments