diff --git a/salt/daemons/masterapi.py b/salt/daemons/masterapi.py
index <HASH>..<HASH> 100644
--- a/salt/daemons/masterapi.py
+++ b/salt/daemons/masterapi.py
@@ -627,11 +627,10 @@ class RemoteFuncs(object):
             ckey = 'mine'
             new_data = load['data']
             if not load.get('clear', False):
-                current_data = self.cache.fetch(cbank, ckey)
-                if isinstance(current_data, dict):
-                    current_data.update(new_data)
-                    new_ddata = current_data
-            self.cache.store(cbank, ckey, new_data)
+                data = self.cache.fetch(cbank, ckey)
+                if isinstance(data, dict):
+                    data.update(new_data)
+            self.cache.store(cbank, ckey, data)
         return True
 
     def _mine_delete(self, load):
Reverted new variable name current_data (and removed typo).