RFID (Radio frequency identification) and wireless sensor networks (WSN) are two different technologies. RFID system is used for identifying, detecting and monitoring the objects by electromagnetic signals. WSN consists of a large numbers of nodes, can monitor the environmental conditions such as humidity, pressure, and temperature. By integrating RFID with WSN, communications of RFID tags with each others are possible. RFID contains a redundant data, due to the redundant data one of the issues is the low efficiency of communication. These redundant data causes energy consumption problem and time delay. In this paper, we propose a novel data cleaning algorithm that efficiently eliminates the duplicate data. For this we use a clustering mechanism where cluster heads eliminate duplicate data and forward filtered data towards the base station. Simulation results prove that our approach reduces energy consumption in terms of communication.