lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/3] ACPI: Allow PCI to be disabled for reboot
From
Date
On 12/11/2018 4:49 PM, Rafael J. Wysocki wrote:
>> I struggled between break and return. Existing code seems to return on failure
>> when bus0 is NULL. I assumed it would be more logical to return as someone could
>> put some code after here that assumes everything is in order.
> Well, there's no such code ATM, so there's no practical difference
> between the two and you don't really need the #else branch at all, do
> you?
>

OK. I'll go with break.

\
 
 \ /
  Last update: 2018-12-11 23:00    [W:0.041 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site