Commit fdd40ef3 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] get rid of MOD INC/DEC for farsync

Get rid of leftover MOD INC/DEC in this driver.  Ref counting now done
by network core.

Jeff, please apply to net-drivers-2.5-exp
parent 6806fd26
...@@ -1313,8 +1313,6 @@ fst_open ( struct net_device *dev ) ...@@ -1313,8 +1313,6 @@ fst_open ( struct net_device *dev )
if ( err ) if ( err )
return err; return err;
MOD_INC_USE_COUNT;
fst_openport ( dev_to_port ( dev )); fst_openport ( dev_to_port ( dev ));
netif_wake_queue ( dev ); netif_wake_queue ( dev );
return 0; return 0;
...@@ -1326,7 +1324,6 @@ fst_close ( struct net_device *dev ) ...@@ -1326,7 +1324,6 @@ fst_close ( struct net_device *dev )
netif_stop_queue ( dev ); netif_stop_queue ( dev );
fst_closeport ( dev_to_port ( dev )); fst_closeport ( dev_to_port ( dev ));
hdlc_close ( dev_to_hdlc ( dev )); hdlc_close ( dev_to_hdlc ( dev ));
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