driver core: Trivially simplify ((struct device_private *)curr)->device->p to @curr
Trivially simplify ((struct device_private *)curr)->device->p to @curr in deferred_devs_show() since both are same. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20240908-trivial_simpli-v1-1-53e0f1363299@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fea64fa04c
commit
efb0b309fa
+1
-1
@@ -248,7 +248,7 @@ static int deferred_devs_show(struct seq_file *s, void *data)
|
|||||||
|
|
||||||
list_for_each_entry(curr, &deferred_probe_pending_list, deferred_probe)
|
list_for_each_entry(curr, &deferred_probe_pending_list, deferred_probe)
|
||||||
seq_printf(s, "%s\t%s", dev_name(curr->device),
|
seq_printf(s, "%s\t%s", dev_name(curr->device),
|
||||||
curr->device->p->deferred_probe_reason ?: "\n");
|
curr->deferred_probe_reason ?: "\n");
|
||||||
|
|
||||||
mutex_unlock(&deferred_probe_mutex);
|
mutex_unlock(&deferred_probe_mutex);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user