NET: sa11x0-ir: factor out speed checks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Jan 2012 16:30:44 +0000 (16:30 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:37:55 +0000 (15:37 +0000)
Whenever we complete a transmit, we always check for a speed change.
This check was open coded in several places.  Provide a helper
function to do this instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found