summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/comedidev.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-09-12 10:11:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 15:36:25 -0700
commitaee447566d08b7b0da482c4a9d8dc7a8332e4d69 (patch)
tree50f1ee912475a38f05b8e50e49bf88b5e2c0098e /drivers/staging/comedi/comedidev.h
parent75fbdbf61dd9f68a28a5e233ad1ccdda7c6f94e8 (diff)
staging: comedi: remove comedi_board()
All calls to the inline function `comedi_board()` in "comedidev.h" have been removed, so remove the function. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedidev.h')
-rw-r--r--drivers/staging/comedi/comedidev.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index bda53047d256..7f4d7e5f20b3 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -269,11 +269,6 @@ struct comedi_device {
void (*close)(struct comedi_device *dev);
};
-static inline const void *comedi_board(const struct comedi_device *dev)
-{
- return dev->board_ptr;
-}
-
/*
* function prototypes
*/