commit | 9088fa4fa2f0b10bf4d9a17381a5ec3485751cb7 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Jun 24 22:16:00 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Jun 24 22:57:28 2008 -0400 |
tree | 2d10f15edfb8b1bd888c23d022ee777cbfee99c0 | |
parent | 6d406b3c76b369a7b043470719761aa6ee1a38d1 [diff] |
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>