diff --git a/angr/analyses/dfg.py b/angr/analyses/dfg.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/dfg.py
+++ b/angr/analyses/dfg.py
@@ -149,8 +149,6 @@ class DFG(Analysis):
                     tmpsnodes[stmt.oldLo] = stmt_node
 
                 else:
-                    if hasattr(stmt, 'tmp'):
-                        tmpsnodes[stmt.tag] = stmt_node
                     for e in stmt.expressions:
                         if e.tag == 'Iex_RdTmp':
                             dfg.add_edge(tmpsnodes[e.tmp], stmt_node)
dfg: remove useless code

Only WrTmp and Dirty have a tmp attribute so this condition will never
be true since they already have been processed. Also, it makes no sense
to have a tag as a key in tmpsnodes, probably an old typo.