Re: [PATCH v2] somedriver: remove the initialization of static pointers.

2017-02-07 Thread Florian Fainelli
On 02/07/2017 01:55 PM, AbdAllah-MEZITI wrote: > In C a static pointer will be initialized to NULL. > The §6.7.8 of the ISO/IEC 9899:1999 (E) document says that: > If an object that has static storage duration is not initialized > explicitly, then: > __ if it has pointer type, it is initialized to

[PATCH v2] somedriver: remove the initialization of static pointers.

2017-02-07 Thread AbdAllah-MEZITI
In C a static pointer will be initialized to NULL. The §6.7.8 of the ISO/IEC 9899:1999 (E) document says that: If an object that has static storage duration is not initialized explicitly, then: __ if it has pointer type, it is initialized to a null pointer. Signed-off-by: AbdAllah-MEZITI v2: -f