[lkml]   [2018]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: hwmon/sch5627: Use common error handling code in sch5627_probe()
>> Adjust jump targets so that a bit of exception handling can be better
>> reused at the end of this function.

> goto-s going to a label calling another goto is completely unreadable.

I got an other software development view.

> I really do not see any reason for the proposed changes,

I suggest to look once more.

> they may remove a small amount of code duplication,

This was my software design goal in this case.

> but at a hugh cost wrt readability.

I proposed a different trade-off here.


 \ /
  Last update: 2018-03-13 09:27    [W:0.061 / U:0.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site