Skip to content

Commit

Permalink
MetadataOnlyCodegenBackend: remove is_inline call
Browse files Browse the repository at this point in the history
This function has no side effects, and its result is ignored.
  • Loading branch information
lqd committed Jan 9, 2019
1 parent c075e24 commit e5318f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_codegen_utils/codegen_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ impl CodegenBackend for MetadataOnlyCodegenBackend {
if let MonoItem::Fn(inst) = mono_item {
let def_id = inst.def_id();
if def_id.is_local() {
let _ = inst.def.is_inline(tcx);
let _ = tcx.codegen_fn_attrs(def_id);
}
}
Expand Down

0 comments on commit e5318f3

Please sign in to comment.