Skip to content

Commit

Permalink
kern: remove inline(never) on naked fn
Browse files Browse the repository at this point in the history
These are always inline(never), and so adding it is considered
incorrect. See rust-lang/rust#79653
for more details.
  • Loading branch information
steveklabnik committed Oct 27, 2021
1 parent 8345ff7 commit eda2a1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kern/src/arch/arm_m.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,6 @@ enum FaultType {
UsageFault = 6,
}

#[inline(never)]
#[naked]
unsafe extern "C" fn configurable_fault() {
asm!(
Expand Down

0 comments on commit eda2a1d

Please sign in to comment.