]> git.baikalelectronics.ru Git - kernel.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)
commit4a177a60a9fbc117a7d3a6029d39a1022d08fd47
tree844d99a5478061268c383e2fcf1b952c96b07ed2
parentcec3364981c932495b0dd5e8fd19d3bdb571364d
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