Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Fix merge between commit3adadc08cc
("net ax25: Reorder ax25_exit to remove races") and commit0ca7a4c87d
("net ax25: Simplify and cleanup the ax25 sysctl handling") The former moved around the sysctl register/unregister calls, the later simply removed them. With help from Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2379,7 +2379,6 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
|
||||
pdata = netdev_priv(dev);
|
||||
|
||||
dev->irq = irq_res->start;
|
||||
irq_flags = irq_res->flags & IRQF_TRIGGER_MASK;
|
||||
pdata->ioaddr = ioremap_nocache(res->start, res_size);
|
||||
@@ -2443,7 +2442,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
|
||||
if (retval) {
|
||||
SMSC_WARN(pdata, probe,
|
||||
"Unable to claim requested irq: %d", dev->irq);
|
||||
goto out_free_irq;
|
||||
goto out_disable_resources;
|
||||
}
|
||||
|
||||
retval = register_netdev(dev);
|
||||
|
Reference in New Issue
Block a user