Removing unused code in binlog_reader.