Preceding a method call with (void)

Greg KH greg at kroah.com
Thu Sep 10 01:00:50 EDT 2015


On Thu, Sep 10, 2015 at 07:52:49AM +0300, Kevin Wilson wrote:
> Hi all,
> 
> I intend to send a patch to the kernel, and my question is about
> preceding a method with (void).

Don't :)

> My question is:
> Will sending a patch to the kernel with code with (void) preceding
> method calls make sense ?

Nope.

> or should I avoid it in  the first place (again, I did not saw such a
> pattern in the kernel)

Avoid it please.

Just curious, what code do you want to change to add a (void) to?

thanks,

greg k-h



More information about the Kernelnewbies mailing list