projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75fbdbf
)
staging: comedi: remove comedi_board()
author
Ian Abbott
<abbotti@mev.co.uk>
Fri, 12 Sep 2014 09:11:20 +0000
(10:11 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 22:36:25 +0000
(15:36 -0700)
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>
drivers/staging/comedi/comedidev.h
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/comedidev.h
b/drivers/staging/comedi/comedidev.h
index
bda5304
..
7f4d7e5
100644
(file)
--- 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
*/