This is the followup we need to do after #6406 to remove dead code.

}
    if (__DEV__) {
      ReactDOMInstrumentation.debugTool.onSetValueForProperty(node, name, value);
      var payload = {};
      payload[name] = value;
      ReactInstrumentation.debugTool.onHostOperation(
        ReactDOMComponentTree.getInstanceFromNode(node)._debugID,
        'update attribute',
        payload
      );
    }
  },
  setValueForAttribute: function(node, name, value) {
    if (!isAttributeNameSafe(name)) {
      return;
    }
    if (value == null) {
      node.removeAttribute(name);
    } else {
      node.setAttribute(name, '' + value);
    }
    if (__DEV__) {
      var payload = {};
      payload[name] = value;
      ReactInstrumentation.debugTool.onHostOperation(
        ReactDOMComponentTree.getInstanceFromNode(node)._debugID,
        'update attribute',
        payload
      );
    }