Re: [PATCH linux-next] fs: remove void * casting in init_once()

From: Philipp Hachtmann
Date: Wed May 17 2017 - 07:54:19 EST




On 16.05.2017 20:38, Fabian Frederick wrote:
See Documentation/process/coding-style.rst:

"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."

This will stop copy/paste cascade warnings.

Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---

I like that patch.