Revert "devres: Initialize an uninitialized struct member"

This reverts commit 748a0b7fe1.
This commit is contained in:
Ksawlii 2024-11-24 00:23:40 +01:00
parent 4c6495b3d4
commit 10efc08feb

View file

@ -577,7 +577,6 @@ void * devres_open_group(struct device *dev, void *id, gfp_t gfp)
grp->id = grp;
if (id)
grp->id = id;
grp->color = 0;
spin_lock_irqsave(&dev->devres_lock, flags);
add_dr(dev, &grp->node[0]);