Repository navigation
Commit 40ba2cd
drivers/base/memory: init_memory_block() first parameter is not necessary
The first parameter of init_memory_block() is intended to retrieve the
memory_block initiated. But now, we never use it.
Drop it for now.
Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20200623025701.2016-1-richard.weiyang@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 105fbc2 commit 40ba2cd
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
574 | | - | |
| 573 | + | |
575 | 574 | | |
576 | 575 | | |
577 | 576 | | |
| |||
594 | 593 | | |
595 | 594 | | |
596 | 595 | | |
597 | | - | |
598 | 596 | | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
603 | 601 | | |
604 | | - | |
605 | 602 | | |
606 | 603 | | |
607 | 604 | | |
| |||
611 | 608 | | |
612 | 609 | | |
613 | 610 | | |
614 | | - | |
| 611 | + | |
615 | 612 | | |
616 | 613 | | |
617 | 614 | | |
| |||
647 | 644 | | |
648 | 645 | | |
649 | 646 | | |
650 | | - | |
| 647 | + | |
651 | 648 | | |
652 | 649 | | |
653 | 650 | | |
| |||
0 commit comments