[PATCH 09/17] batman-adv: Remove explicit casts cast from void* for store

    It is not necessary to cast a void* to the pointer type when we just
    store it and don't want to do pointer arithmetic before the actual
    assignment.

    Signed-off-by: Sven Eckelmann <sven@narfation.org>
[PATCH 10/17] batman-adv: Remove casts from type x to type x

    Casting from pointer like 'struct orig_node*' to 'struct orig_node *'
    doesn't provide any additional functionality and can be savely removed.

    Signed-off-by: Sven Eckelmann <sven@narfation.org>
[PATCH 11/17] [PATCH 9/9] batman-adv: Calculate sizeof using variable insead of types

    Documentation/CodingStyle recommends to use the form

    	p = kmalloc(sizeof(*p), ...);

    to calculate the size of a struct and not the version where the struct
    name is spelled out to prevent bugs when the type of p changes. This
    also seems appropriate for manipulation of buffers when they are
    directly associated with p.

    Signed-off-by: Sven Eckelmann <sven@narfation.org>