Commit c5e46f7
scsi: core: Merge scsi_internal_device_block() and device_block()
scsi_internal_device_block() is only called from device_block(). Merge the
two functions, and call the result scsi_device_block(), as the name
device_block() is confusingly generic.
Signed-off-by: Martin Wilck <mwilck@suse.com>
Link: https://lore.kernel.org/r/20230614103616.31857-4-mwilck@suse.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 37c918e commit c5e46f7
1 file changed
Lines changed: 8 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2775 | 2775 | | |
2776 | 2776 | | |
2777 | 2777 | | |
2778 | | - | |
| 2778 | + | |
2779 | 2779 | | |
| 2780 | + | |
2780 | 2781 | | |
2781 | 2782 | | |
2782 | | - | |
2783 | | - | |
2784 | | - | |
| 2783 | + | |
2785 | 2784 | | |
2786 | 2785 | | |
2787 | 2786 | | |
2788 | 2787 | | |
2789 | 2788 | | |
2790 | 2789 | | |
2791 | 2790 | | |
2792 | | - | |
| 2791 | + | |
2793 | 2792 | | |
2794 | 2793 | | |
2795 | 2794 | | |
| |||
2799 | 2798 | | |
2800 | 2799 | | |
2801 | 2800 | | |
2802 | | - | |
| 2801 | + | |
| 2802 | + | |
2803 | 2803 | | |
2804 | 2804 | | |
2805 | 2805 | | |
| |||
2882 | 2882 | | |
2883 | 2883 | | |
2884 | 2884 | | |
2885 | | - | |
2886 | | - | |
2887 | | - | |
2888 | | - | |
2889 | | - | |
2890 | | - | |
2891 | | - | |
2892 | | - | |
2893 | | - | |
2894 | | - | |
2895 | | - | |
2896 | 2885 | | |
2897 | 2886 | | |
2898 | 2887 | | |
2899 | 2888 | | |
2900 | 2889 | | |
2901 | | - | |
| 2890 | + | |
2902 | 2891 | | |
2903 | 2892 | | |
2904 | 2893 | | |
| |||
2907 | 2896 | | |
2908 | 2897 | | |
2909 | 2898 | | |
2910 | | - | |
| 2899 | + | |
2911 | 2900 | | |
2912 | 2901 | | |
2913 | 2902 | | |
| |||
0 commit comments