Re: [patch] pinctrl: remove an unnecessary cast

From: Linus Walleij
Date: Mon Sep 23 2013 - 04:48:00 EST


On Tue, Sep 17, 2013 at 12:47 PM, Dan Carpenter
<dan.carpenter@xxxxxxxxxx> wrote:

> sizeof() is already size_t so there is no need to cast here. Generally,
> casting inside the min() macro instead of using min_t() is considered
> bad style.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Patch applied!

Thanks,
Linus Walleij
--
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/