diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp index e941a769c9d..c0c95fea131 100644 --- a/lib/Target/ARM/ARMBaseRegisterInfo.cpp +++ b/lib/Target/ARM/ARMBaseRegisterInfo.cpp @@ -1091,7 +1091,6 @@ hasReservedCallFrame(MachineFunction &MF) const { // even when FP is available in Thumb2 mode. bool ARMBaseRegisterInfo:: canSimplifyCallFramePseudos(MachineFunction &MF) const { - ARMFunctionInfo *AFI = MF.getInfo(); return hasReservedCallFrame(MF) || MF.getFrameInfo()->hasVarSizedObjects(); }