Author: svens
Date: Wed Apr 20 11:05:37 2011
New Revision: 6529
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6529

Log:
PC87384: remove unused init function

Signed-off-by: Sven Schnelle <[email protected]>
Acked-by: Sven Schnelle <[email protected]>

Modified:
   trunk/src/superio/nsc/pc87384/superio.c

Modified: trunk/src/superio/nsc/pc87384/superio.c
==============================================================================
--- trunk/src/superio/nsc/pc87384/superio.c     Wed Apr 20 10:58:38 2011        
(r6528)
+++ trunk/src/superio/nsc/pc87384/superio.c     Wed Apr 20 11:05:37 2011        
(r6529)
@@ -30,25 +30,11 @@
 #include "chip.h"
 #include "pc87384.h"
 
-static void init(device_t dev)
-{
-       struct superio_nsc_pc87384_config *conf = dev->chip_info;
-
-       if (!dev->enabled)
-               return;
-
-       switch(dev->path.pnp.device) {
-       case PC87384_GPIO:
-               break;
-       }
-}
-
 static struct device_operations ops = {
        .read_resources   = pnp_read_resources,
        .set_resources    = pnp_set_resources,
        .enable_resources = pnp_enable_resources,
        .enable           = pnp_enable,
-       .init             = init,
 };
 
 static struct pnp_info pnp_dev_info[] = {

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to