diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-09 17:53:18 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-18 22:49:16 +0300 |
commit | 9978f446d406a7dae080ca4a682bac927c9b8773 (patch) | |
tree | 16fa61e82d9b048ce2fa461e7a278409cc23d757 /arch/x86/net | |
parent | babc92da5928f81af951663fc436997352e02d3a (diff) | |
download | linux-9978f446d406a7dae080ca4a682bac927c9b8773.tar.xz |
ACPI: property: Get rid of redundant 'else'
In the snippets like the following
if (...)
return / goto / break / continue ...;
else
...
the 'else' is redundant. Get rid of it.
While at it, replace conditional '<= 0' for unsigned type by '== 0'
in acpi_data_prop_read(); update comment in the
__acpi_node_get_property_reference() on how we parse the reference.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/net')
0 files changed, 0 insertions, 0 deletions