if (local == NULL || local->link == NULL)
struct hostap_cs_priv *hw_priv;  if (local == NULL || local->hw_priv == NULL) return 1; hw_priv = local->hw_priv; if (hw_priv->link == NULL)
static int prism2_pccard_dev_close(local_info_t *local){	if (local == NULL || local->link == NULL)		return 1;	if (!local->link->open) {		printk(KERN_WARNING "%s: prism2_pccard_dev_close(): "		       "link not open?!\n", local->dev->name);		return 1;	}	local->link->open--;	return 0;}