From 188094a61fb41be31759e7f2ba7ecb7adab168af Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 20 Jan 2003 04:10:26 +0000 Subject: [PATCH] Remove variable that is only assigned too but not referenced. --- sys/dev/pci/ahc_pci.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c index 6b0e8e20a254..154637f7adb0 100644 --- a/sys/dev/pci/ahc_pci.c +++ b/sys/dev/pci/ahc_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ahc_pci.c,v 1.35 2002/10/02 16:51:00 thorpej Exp $ */ +/* $NetBSD: ahc_pci.c,v 1.36 2003/01/20 04:10:26 simonb Exp $ */ /* * Product specific probe and attach routines for: @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ahc_pci.c,v 1.35 2002/10/02 16:51:00 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahc_pci.c,v 1.36 2003/01/20 04:10:26 simonb Exp $"); #include #include @@ -1136,10 +1136,9 @@ static int ahc_2940Pro_setup(struct pci_attach_args *pa, char *channel, ahc_chip *chip, ahc_feature *features, ahc_flag *flags) { - int error; *flags |= AHC_INT50_SPEEDFLEX; - error = ahc_aic7880_setup(pa, channel, chip, features, flags); + ahc_aic7880_setup(pa, channel, chip, features, flags); return (0); }