]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pmac: remove needless pmac_ide_destroy_dmatable() wrapper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:45 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:45 +0000 (21:39 +0200)
commitf5e0b5ecb3afc8050259003067b6a1aef3635f12
tree844d99a5478061268c383e2fcf1b952c96b07ed2
parent9055ba3ee2dba801e8e6bddec9003ad8bca153ab
pmac: remove needless pmac_ide_destroy_dmatable() wrapper

hwif->sg_nents is always != 0 when this function is called
and there is also no need to explicitely zero hwif->sg_nents.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ppc/pmac.c