lkml.org 
[lkml]   [2013]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch] pinctrl: remove an unnecessary cast
From
On Tue, Sep 17, 2013 at 12:47 PM, Dan Carpenter
<dan.carpenter@oracle.com> 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@oracle.com>

Patch applied!

Thanks,
Linus Walleij


\
 
 \ /
  Last update: 2013-09-23 11:01    [W:0.032 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site