]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
scc_pata: kill unused variables
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 17 Oct 2008 16:09:17 +0000 (18:09 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:17 +0000 (18:09 +0200)
commita11e2afa77b9e1ddffc63e37cae5685683558870
tree666905e85268eb4c7ddac4772fb7f80f0d523d30
parent107111d450541df8c2a8d3af1d538cc7cd85e81b
scc_pata: kill unused variables

Fix the "unused variable" warning in init_hwif_scc() caused by the commit
48c3c1072651922ed153bcf0a33ea82cf20df390 (ide: add struct ide_host (take 3)).
Moreover, remove the write-only variable 'dma_status_port' in init_setup_scc()
about which gcc gives no warning and which has been there from the very start...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/scc_pata.c