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

« back to all changes in this revision

Viewing changes to drivers/net/ifb.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:
233
233
        if (!dev_ifb)
234
234
                return -ENOMEM;
235
235
 
236
 
        err = dev_alloc_name(dev_ifb, dev_ifb->name);
237
 
        if (err < 0)
238
 
                goto err;
239
 
 
240
236
        dev_ifb->rtnl_link_ops = &ifb_link_ops;
241
237
        err = register_netdevice(dev_ifb);
242
238
        if (err < 0)