DM9000: Cleanups after the resource changes
authorBen Dooks <ben-linux@fluff.org>
Tue, 24 Jun 2008 21:16:00 +0000 (22:16 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Jun 2008 02:57:28 +0000 (22:57 -0400)
commit9088fa4fa2f0b10bf4d9a17381a5ec3485751cb7
tree2d10f15edfb8b1bd888c23d022ee777cbfee99c0
parent6d406b3c76b369a7b043470719761aa6ee1a38d1
DM9000: Cleanups after the resource changes

Remove the now extraneous checks in dm9000_release_board()
now that the two-resource case is removed. Also remove the
check on pdev->num_resources, as we check the return data
from platform_get_resource() to ensure we have not only
the right number but the right type of resources as well.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c