diff options
author | 2022-11-26 19:16:34 +0800 | |
---|---|---|
committer | 2023-01-19 17:13:24 +0100 | |
commit | 95b2a034784658c4512db846918475d4954901d6 (patch) | |
tree | a908721913d05fe230a8f910b59b0e64aca2fb6a /lib/test_firmware.c | |
parent | device property: Make fwnode_graph_for_each_endpoint() consistent (diff) | |
download | wireguard-linux-95b2a034784658c4512db846918475d4954901d6.tar.xz wireguard-linux-95b2a034784658c4512db846918475d4954901d6.zip |
kernfs: remove an unused if statement in kernfs_path_from_node_locked()
It makes no sense to call kernfs_path_from_node_locked() with NULL buf,
and no one is doing that right now.
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20221126111634.1994-1-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions