~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/rtl8712/rtl871x_io.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                goto _init_intf_hdl_fail;
74
74
        return _SUCCESS;
75
75
_init_intf_hdl_fail:
76
 
        if (pintf_priv)
77
 
                kfree((u8 *)pintf_priv);
 
76
        kfree(pintf_priv);
78
77
        return _FAIL;
79
78
}
80
79
 
84
83
 
85
84
        unload_intf_priv = &r8712_usb_unload_intf_priv;
86
85
        unload_intf_priv(pintfpriv);
87
 
        if (pintfpriv)
88
 
                kfree((u8 *)pintfpriv);
 
86
        kfree(pintfpriv);
89
87
}
90
88
 
91
89
static uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl)