On Fri, Jul 7, 2017 at 2:41 AM, Dibyendu Majumdar <mobile@xxxxxxxxxxxxxxx> wrote: > > Well I think it is best not to do that really. Why do the nodes need > to be deleted? There is no harm in retaining them surely as long as > the the iterators can handle it? > Please know that, even the node is not deleted. Just remove the entry from list->list[] will cause problem on the outer loop on the same list, if there is one. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html