devtmpfs: remove return value of devtmpfs_delete_node()
authorLonglong Xia <xialonglong1@huawei.com>
Fri, 10 Feb 2023 09:54:44 +0000 (09:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Feb 2023 08:45:59 +0000 (09:45 +0100)
commit9d3fe6aa6b9517408064c7c3134187e8ec77dbf7
tree227fec7d179e5574bb3e69f25ecbd43d1d58aa8f
parent90a9d5ff225267b3376f73c19f21174e3b6d7746
devtmpfs: remove return value of devtmpfs_delete_node()

The only caller of device_del() does not check the return value. And
there's nothing we can do when cleaning things up on a remove path.
Let's make it a void function.

Signed-off-by: Longlong Xia <xialonglong1@huawei.com>
Link: https://lore.kernel.org/r/20230210095444.4067307-4-xialonglong1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
drivers/base/devtmpfs.c