Commit 854826c
ubifs: Drop softlimit and delta fields from struct ubifs_wbuf
Values of these fields are set during init and never modified. They are
used (read) in a single function only. There isn't really any reason to
keep them in a struct. It only makes struct just a bit bigger without
any visible gain.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>1 parent 6a34e4d commit 854826c
2 files changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
455 | 461 | | |
| 462 | + | |
456 | 463 | | |
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
460 | 467 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
465 | 471 | | |
466 | 472 | | |
467 | 473 | | |
| |||
1059 | 1065 | | |
1060 | 1066 | | |
1061 | 1067 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | 1068 | | |
1067 | 1069 | | |
1068 | 1070 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | 648 | | |
652 | 649 | | |
653 | 650 | | |
| |||
676 | 673 | | |
677 | 674 | | |
678 | 675 | | |
679 | | - | |
680 | | - | |
681 | 676 | | |
682 | 677 | | |
683 | 678 | | |
| |||
0 commit comments