Re: [PATCH] resources: Remove unneeded initialization of local variable

From: bojan prtvar
Date: Tue Dec 29 2015 - 10:04:52 EST


On Tue, Dec 29, 2015 at 2:36 PM, Laurent Navet <laurent.navet@xxxxxxxxx> wrote:
> why not directly ?
>
> struct region_devres *dr = devres_alloc(devm_region_release,
> sizeof(struct region_devres),..
>

I follow Dan's rationale [1]

[1]
http://www.spinics.net/lists/target-devel/msg11355.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/