staging: et131x: Create et131x_[dis|en]able_txrx() calls
authorMark Einon <mark.einon@gmail.com>
Sun, 25 Sep 2011 18:17:55 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:39:16 +0000 (17:39 -0700)
In et131x_netdev.c, a series of calls to enable and diasble the rx/tx engine and queue are being used in several different places.
Create two functions to encapsulate these calls, and replace many calls with just the one.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found