On Mon, 2013-09-09 at 14:26 +0900, Jingoo Han wrote: > Casting the return value which is a void pointer is redundant. > The conversion from void pointer to any other pointer type is > guaranteed by the C programming language. spatch (aka: Coccinelle) should be able to find a lot of these with: $ cat void.cocci @@ void *t; type other; @@ - (other *)t + t -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html