Skip to contentSkip to conversation

staging: comedi: ni_daq_700: Remove a "do nothing" function stub

PATCH In review H Hartley Sweeten 1 participant 1 message Jun 22, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 11/31 staging: comedi: ni_daq_700: Remove a "do nothing" function stub

The function do_config() doesn't do anything. Just remove it.

Cc Ian Abbott <[email protected]>
Cc Frank Mori Hess <[email protected]>
Cc Greg Kroah-hartman <[email protected]>
---
 drivers/staging/comedi/drivers/ni_daq_700.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/staging/comedi/drivers/ni_daq_700.c +0 -8
index 7ad5465..99ce234d 100644
@@ -107,8 +107,6 @@ struct subdev_700_struct {
 #define CALLBACK_FUNC	(((struct subdev_700_struct *)s->private)->cb_func)
 #define subdevpriv	((struct subdev_700_struct *)s->private)
 
-static void do_config(struct comedi_device *dev, struct comedi_subdevice *s);
-
 static int subdev_700_cb(int dir, int port, int data, unsigned long arg)
 {
 	/* port is always A for output and B for input (8255 emu) */
@@ -165,11 +163,6 @@ static int subdev_700_insn_config(struct comedi_device *dev,
 	return 1;
 }
 
-static void do_config(struct comedi_device *dev, struct comedi_subdevice *s)
-{				/* use powerup defaults */
-	return;
-}
-
 static int subdev_700_init(struct comedi_device *dev,
 			   struct comedi_subdevice *s,
 			   int (*cb) (int, int, int, unsigned long),
@@ -196,7 +189,6 @@ static int subdev_700_init(struct comedi_device *dev,
 
 	s->state = 0;
 	s->io_bits = 0x00ff;
-	do_config(dev, s);
 
 	return 0;
 }
Signature · 1 line
1.7.11