https://github.com/torvalds/linux
Revision 60c5fd2e8f3c42a5abc565ba9876ead1da5ad2b7 authored by Zhu Wang on 22 August 2023, 01:52:54 UTC, committed by Martin K. Petersen on 25 August 2023, 01:34:28 UTC
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>
1 parent c422fbd
History
Tip revision: 60c5fd2e8f3c42a5abc565ba9876ead1da5ad2b7 authored by Zhu Wang on 22 August 2023, 01:52:54 UTC
scsi: core: raid_class: Remove raid_component_add()
Tip revision: 60c5fd2
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
io_uring
ipc
kernel
lib
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 20.1 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 151 bytes
.gitattributes -rw-r--r-- 105 bytes
.gitignore -rw-r--r-- 2.0 KB
.mailmap -rw-r--r-- 28.7 KB
.rustfmt.toml -rw-r--r-- 369 bytes
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 100.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 699.1 KB
Makefile -rw-r--r-- 69.8 KB
README -rw-r--r-- 727 bytes

README

back to top