Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc2d8a12 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove never-reached 'return' statements" am: 2a91bd73 am: 9dfd7f15 am: 4dae3547

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959367

Change-Id: Iab7639f9aabcabef6afb02e108d00f5ad555174a
parents 3a288e41 4dae3547
Loading
Loading
Loading
Loading
+14 −17
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ void OnDeath(void* cookie) {
        LOG(INFO) << "Nfc::open null callback";
        return ndk::ScopedAStatus::fromServiceSpecificError(
                static_cast<int32_t>(NfcStatus::FAILED));
    } else {
    }
    Nfc::mCallback = clientCallback;

    clientDeathRecipient = AIBinder_DeathRecipient_new(OnDeath);
@@ -57,9 +57,6 @@ void OnDeath(void* cookie) {
    return ret == 0 ? ndk::ScopedAStatus::ok()
                    : ndk::ScopedAStatus::fromServiceSpecificError(
                              static_cast<int32_t>(NfcStatus::FAILED));
        return ndk::ScopedAStatus::ok();
    }
    return ndk::ScopedAStatus::ok();
}

::ndk::ScopedAStatus Nfc::close(NfcCloseType type) {