Commit a338e5ad authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] pc300 - get rid of MOD_INC/MOD_DEC

Remove old style mod inc/dec from this WAN driver.
parent fdd40ef3
...@@ -3165,7 +3165,6 @@ int cpc_open(struct net_device *dev) ...@@ -3165,7 +3165,6 @@ int cpc_open(struct net_device *dev)
return result; return result;
} }
MOD_INC_USE_COUNT;
sprintf(ifr.ifr_name, "%s", dev->name); sprintf(ifr.ifr_name, "%s", dev->name);
cpc_opench(d); cpc_opench(d);
netif_start_queue(dev); netif_start_queue(dev);
...@@ -3201,7 +3200,6 @@ int cpc_close(struct net_device *dev) ...@@ -3201,7 +3200,6 @@ int cpc_close(struct net_device *dev)
} }
#endif #endif
MOD_DEC_USE_COUNT;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment