gianfar: fix compile warning
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 2 Dec 2007 05:10:03 +0000 (22:10 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 4 Dec 2007 20:06:11 +0000 (15:06 -0500)
Eliminate an uninitialized variable warning.  The code is correct, but
a pointer to the automatic variable 'addr' is passed to dma_alloc_coherent.
Since addr has never been initialized, and the compiler doesn't know
what dma_alloc_coherent will do with it, it complains.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found