/* This function only actually saves the state when necessary.  */
static void c_pkt_data_save(c_pkt_data *d, packet_info *pinfo, guint off)
/* This function only actually saves the state when necessary.  */
static void c_pkt_data_save(c_pkt_data *d, packet_info *pinfo, guint off)
{
	if (!pinfo->fd->flags.visited)
	{
		p_add_proto_data(wmem_file_scope(), pinfo, proto_ceph, off,
						    c_conv_data_clone(d->convd));
	}
}