summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2013-08-03 15:09:45 +0400
committerDavid S. Miller <davem@davemloft.net>2013-08-03 22:53:04 +0400
commitb6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9 (patch)
tree31ef8045154c1d51acaee80adb0bd9493fa173dd /drivers/net/ethernet/ti/davinci_emac.c
parent6a8b7f0c85f1f42eb8b6e68ef3d5ba8020d8e272 (diff)
downloadlinux-b6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9.tar.xz
net: ethernet: davinci_emac: drop IRQF_DISABLED
IRQF_DISABLED is a no-op by now and should be removed. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
-rw-r--r--drivers/net/ethernet/ti/davinci_emac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index 07b176bcf929..1a222bce4bd7 100644
--- a/drivers/net/ethernet/ti/davinci_emac.c
+++ b/drivers/net/ethernet/ti/davinci_emac.c
@@ -1568,8 +1568,7 @@ static int emac_dev_open(struct net_device *ndev)
while ((res = platform_get_resource(priv->pdev, IORESOURCE_IRQ, k))) {
for (i = res->start; i <= res->end; i++) {
if (devm_request_irq(&priv->pdev->dev, i, emac_irq,
- IRQF_DISABLED,
- ndev->name, ndev))
+ 0, ndev->name, ndev))
goto rollback;
}
k++;