Skip to content

Commit

Permalink
Fix CR: merge multiple conditions into one
Browse files Browse the repository at this point in the history
  • Loading branch information
ivila committed Oct 25, 2024
1 parent 1808b90 commit 108fdbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions optee-utee/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ use core::panic::PanicInfo;
#[cfg(not(target_os = "optee"))]
use optee_utee_sys as raw;

#[cfg(not(target_os = "optee"))]
#[cfg(not(feature = "no_panic_handler"))]
#[cfg(all(not(target_os = "optee"), not(feature = "no_panic_handler")))]
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
unsafe { raw::TEE_Panic(0); }
Expand Down

0 comments on commit 108fdbe

Please sign in to comment.