Zhu Wang a6a0e8e394 scsi: core: raid_class: Remove raid_component_add()
commit 60c5fd2e8f3c42a5abc565ba9876ead1da5ad2b7 upstream.

The raid_component_add() function was added to the kernel tree via patch
"[SCSI] embryonic RAID class" (2005). Remove this function since it never
has had any callers in the Linux kernel. And also raid_component_release()
is only used in raid_component_add(), so it is also removed.

Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Link: https://lore.kernel.org/r/20230822015254.184270-1-wangzhu9@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Fixes: 04b5b5cb0136 ("scsi: core: Fix possible memory leak if device_add() fails")
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-30 16:35:16 +02:00
..
2021-07-20 16:17:49 +02:00
2021-07-20 16:17:49 +02:00
2018-01-02 20:31:05 +01:00
2017-08-25 17:21:10 -04:00
2019-12-01 09:13:27 +01:00
2021-05-22 10:57:31 +02:00
2017-08-25 17:21:11 -04:00
2021-05-22 10:57:31 +02:00
2022-01-27 09:00:58 +01:00
2022-01-27 09:00:58 +01:00
2023-06-09 10:22:52 +02:00
2021-05-22 10:57:31 +02:00