Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 588a3355 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Bartlomiej Zolnierkiewicz
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Cc: paulus@samba.org
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 7062cdc5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1802,9 +1802,7 @@ pmac_ide_dma_check(ide_drive_t *drive)
{
	struct hd_driveid *id = drive->id;
	ide_hwif_t *hwif = HWIF(drive);
	pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t *)hwif->hwif_data;
	int enable = 1;
	int map;
	drive->using_dma = 0;
	
	if (drive->media == ide_floppy)