diff mbox

[3/8] char/hpet.c Fix variable 'hpet' set but not used

Message ID 1276547208-26569-4-git-send-email-justinmattock@gmail.com (mailing list archive)
State Not Applicable
Delegated to: Douglas Landgraf
Headers show

Commit Message

Justin P. Mattock June 14, 2010, 8:26 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index a0a1829..7932858 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -556,7 +556,6 @@  static int
 hpet_ioctl_common(struct hpet_dev *devp, int cmd, unsigned long arg, int kernel)
 {
 	struct hpet_timer __iomem *timer;
-	struct hpet __iomem *hpet;
 	struct hpets *hpetp;
 	int err;
 	unsigned long v;
@@ -568,7 +567,6 @@  hpet_ioctl_common(struct hpet_dev *devp, int cmd, unsigned long arg, int kernel)
 	case HPET_DPI:
 	case HPET_IRQFREQ:
 		timer = devp->hd_timer;
-		hpet = devp->hd_hpet;
 		hpetp = devp->hd_hpets;
 		break;
 	case HPET_IE_ON: