Grabage-collect no longer used variable.
This commit is contained in:
parent
11c8759337
commit
36d43b5dfe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344317
@ -270,7 +270,6 @@ static void
|
||||
vdev_raidz_map_free(raidz_map_t *rm)
|
||||
{
|
||||
int c;
|
||||
size_t size;
|
||||
|
||||
for (c = 0; c < rm->rm_firstdatacol; c++) {
|
||||
if (rm->rm_col[c].rc_abd != NULL)
|
||||
@ -281,11 +280,9 @@ vdev_raidz_map_free(raidz_map_t *rm)
|
||||
rm->rm_col[c].rc_size);
|
||||
}
|
||||
|
||||
size = 0;
|
||||
for (c = rm->rm_firstdatacol; c < rm->rm_cols; c++) {
|
||||
if (rm->rm_col[c].rc_abd != NULL)
|
||||
abd_put(rm->rm_col[c].rc_abd);
|
||||
size += rm->rm_col[c].rc_size;
|
||||
}
|
||||
|
||||
if (rm->rm_abd_copy != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user