]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gianfar: don't duplicate gfar_error()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 15 Feb 2007 13:56:01 +0000 (17:56 +0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:26:45 +0000 (15:26 -0500)
commit538cc7ee7dddaedf9442f32ec4cc617a070ef341
treec30210cbdb1ecef70825b4d124d3a90eccb51187
parent825811749b00f670b53e35ed342d5dc10d71c9de
gianfar: don't duplicate gfar_error()

It was hardly necessary to repeat most of the code from gfar_error() in
gfar_interrupt(), especially having some inconsistencies between the two.
So, make the gfar_interrupt() just call gfar_error(), and not acknowledge
the interrupts itself as gfar_{receive/transmit/error}() do it anyway.
While at it, also clarify/cleanup debug messages in gfar_error()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/gianfar.c