[lkml]   [2020]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] edac: Fix reference count leak in edac_device_register_sysfs_main_kobj()
>> * The label “err_out” can be replaced by direct return statement,
>> can't it?
> No, it cannot. It keeps the error handling code out-of-line so that the
> function body remains readable.

Have we got different programming expectations also around the application
of the Linux coding style?


 \ /
  Last update: 2020-05-29 11:43    [W:0.097 / U:2.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site