Re: [PATCH 05/12] staging: lustre: Optimize error handling in class_register_type()

2016-07-26 Thread Oleg Drokin
On Jul 26, 2016, at 3:05 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 26 Jul 2016 14:23:23 +0200 > > Return a constant error code without storing it in the local variable "rc" > after a failed memory allocation at the beginning of this

Re: [PATCH 05/12] staging: lustre: Optimize error handling in class_register_type()

2016-07-26 Thread Oleg Drokin
On Jul 26, 2016, at 3:05 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 26 Jul 2016 14:23:23 +0200 > > Return a constant error code without storing it in the local variable "rc" > after a failed memory allocation at the beginning of this function. > > Signed-off-by: Markus