aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc/pmac.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-09-17 06:35:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-09-17 06:35:30 -0400
commit588a33556ccf3e2135c7b4527557616f72fc144c (patch)
treeda6f4ddc1007e7a838b581102ada69ea88d4ff20 /drivers/ide/ppc/pmac.c
parent7062cdc5edb3ba4b2eb906684cd19e103de1f920 (diff)
ide: remove unused variables from drivers/ide/ppc/pmac.c
Removes these warnings: /home/sfr/kernels/linus/drivers/ide/ppc/pmac.c: In function 'pmac_ide_dma_check': /home/sfr/kernels/linus/drivers/ide/ppc/pmac.c:1807: warning: unused variable 'map' /home/sfr/kernels/linus/drivers/ide/ppc/pmac.c:1805: warning: unused variable 'pmif' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: paulus@samba.org Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc/pmac.c')
-rw-r--r--drivers/ide/ppc/pmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index 4b13cd9a027d..f19eb6daeefd 100644
--- a/drivers/ide/ppc/pmac.c
+++ b/drivers/ide/ppc/pmac.c
@@ -1802,9 +1802,7 @@ pmac_ide_dma_check(ide_drive_t *drive)
1802{ 1802{
1803 struct hd_driveid *id = drive->id; 1803 struct hd_driveid *id = drive->id;
1804 ide_hwif_t *hwif = HWIF(drive); 1804 ide_hwif_t *hwif = HWIF(drive);
1805 pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t *)hwif->hwif_data;
1806 int enable = 1; 1805 int enable = 1;
1807 int map;
1808 drive->using_dma = 0; 1806 drive->using_dma = 0;
1809 1807
1810 if (drive->media == ide_floppy) 1808 if (drive->media == ide_floppy)