]> www.infradead.org Git - users/jedix/linux-maple.git/commit
driver core: class: Remove needless return in void API class_remove_file()
authorZijun Hu <quic_zijuhu@quicinc.com>
Sat, 8 Feb 2025 14:15:26 +0000 (22:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2025 11:47:56 +0000 (12:47 +0100)
commit8fd74a31eaf3def0d57264ada57fc981902aeadf
treef831b1b607a8bc933571a20336a2529b1860afcb
parent6ef5b6fae304091593956be59065c0c8633ad9e8
driver core: class: Remove needless return in void API class_remove_file()

Remove return since both class_remove_file() and class_remove_file_ns()
are void functions.

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250208-cls_rmv_return-v1-1-091b37945aac@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device/class.h