19 Mar, 2009

1 commit


11 Jan, 2009

1 commit

  • ARRAY_SIZE is more concise to use when the size of an array is divided by
    the size of its type or the size of its first element.

    The semantic patch that makes this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @i@
    @@

    #include

    @depends on i using "paren.iso"@
    type T;
    T[] E;
    @@

    - (sizeof(E)/sizeof(T))
    + ARRAY_SIZE(E)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Julia Lawall
     

03 Sep, 2008

1 commit


08 Feb, 2008

1 commit

  • All these static inlines are unused:

    in_own_zone 1 (net/tipc/addr.h)
    msg_dataoctet 1 (net/tipc/msg.h)
    msg_direct 1 (include/net/tipc/tipc_msg.h)
    msg_options 1 (include/net/tipc/tipc_msg.h)
    tipc_nmap_get 1 (net/tipc/bcast.h)

    Signed-off-by: Ilpo Järvinen
    Signed-off-by: David S. Miller

    Ilpo Järvinen
     

11 Feb, 2007

1 commit


26 Jun, 2006

1 commit


18 Jan, 2006

1 commit


13 Jan, 2006

3 commits