[bpf] remove unused variable

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
llvm-svn: 318615
This commit is contained in:
Alexei Starovoitov 2017-11-19 02:41:53 +00:00
parent 9a67245d88
commit 9bd566f8c8
1 changed files with 0 additions and 1 deletions

View File

@ -329,7 +329,6 @@ SDValue BPFTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
// turn it into a TargetGlobalAddress node so that legalize doesn't hack it.
// Likewise ExternalSymbol -> TargetExternalSymbol.
if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
auto GV = G->getGlobal();
Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT,
G->getOffset(), 0);
} else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {