On Tue, 1 Jul 2014, Joonsoo Kim wrote: > node isn't changed, so we don't need to retreive this structure > everytime we move the object. Maybe compiler do this optimization, > but making it explicitly is better. >
Qualifying the pointer as const would be even more explicit. > Acked-by: Christoph Lameter <c...@linux.com> > Signed-off-by: Joonsoo Kim <iamjoonsoo....@lge.com> Acked-by: David Rientjes <rient...@google.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/