Re: tipc: Delete error messages for failed memory allocations in three functions

From: SF Markus Elfring
Date: Tue May 23 2017 - 12:23:57 EST


> tipc_subseq_alloc does a kcalloc (memset to 0),
> half of which is immediately overwritten.
>
> In other words, don't just blindly remove stuff,
> understand what it does and improve it.

Do you suggest another specific source code transformation pattern here?

Regards,
Markus