aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlan Jenkins <[email protected]>2017-02-08 14:46:30 +0100
committerAndy Shevchenko <[email protected]>2017-02-26 17:01:07 +0200
commitc1d1e8a051761fb808308dab32b9351e1d1fbb9b (patch)
tree6538ccf1a3331795a2695fb894b449ee1fffb0a5 /net/unix/af_unix.c
parent8c590e339f37022dff209ef16cf699531df1a0ca (diff)
platform/x86: fujitsu-laptop: simplify acpi_bus_register_driver() error handling
A separate variable is not needed to handle error codes returned by acpi_bus_register_driver(). If the latter fails, just use the value it returned as the value returned by fujitsu_init(). Signed-off-by: Alan Jenkins <[email protected]> [kempniu: rebase patch, rewrite commit message] Signed-off-by: Michał Kępień <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Jonathan Woithe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions