if (priv->p_mtc_envelope!=NULL) { kfree(priv->p_mtc_envelope); priv->p_mtc_envelope=NULL; } if (priv->p_env != NULL) { kfree(priv->p_env); priv->p_env=NULL; } if (priv->channel[0].irb != NULL) { kfree(priv->channel[0].irb); priv->channel[0].irb=NULL; } if (priv->channel[1].irb != NULL) { kfree(priv->channel[1].irb); priv->channel[1].irb=NULL; } 
kfree(priv->p_mtc_envelope); priv->p_mtc_envelope=NULL; kfree(priv->p_env); priv->p_env=NULL; kfree(priv->channel[0].irb); priv->channel[0].irb=NULL; kfree(priv->channel[1].irb); priv->channel[1].irb=NULL; 
claw_remove_device(struct ccwgroup_device *cgdev){	struct claw_privbk *priv;	pr_debug("%s() called\n", __FUNCTION__);	CLAW_DBF_TEXT_(2,setup,"%s",cgdev->dev.bus_id);	priv = cgdev->dev.driver_data;	if (!priv) {		printk(KERN_WARNING "claw: %s() no Priv exiting\n",__FUNCTION__);		return;	}	printk(KERN_INFO "claw: %s() called %s will be removed.\n",			__FUNCTION__,cgdev->cdev[0]->dev.bus_id);	if (cgdev->state == CCWGROUP_ONLINE)		claw_shutdown_device(cgdev);	claw_remove_files(&cgdev->dev);	if (priv->p_mtc_envelope!=NULL) {                kfree(priv->p_mtc_envelope);                priv->p_mtc_envelope=NULL;        }	if (priv->p_env != NULL) {		kfree(priv->p_env);		priv->p_env=NULL;	}	if (priv->channel[0].irb != NULL) {		kfree(priv->channel[0].irb);		priv->channel[0].irb=NULL;	}	if (priv->channel[1].irb != NULL) {		kfree(priv->channel[1].irb);		priv->channel[1].irb=NULL;	}	kfree(priv);	cgdev->dev.driver_data=NULL;	cgdev->cdev[READ]->dev.driver_data = NULL;	cgdev->cdev[WRITE]->dev.driver_data = NULL;	put_device(&cgdev->dev);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/17fd682e544556a2a829e94383239c029bb21c5e/claw.c/buggy/drivers/s390/net/claw.c