From: Ian Abbott Date: Fri, 12 Sep 2014 09:11:20 +0000 (+0100) Subject: staging: comedi: remove comedi_board() X-Git-Tag: v5.15~17125^2~433 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aee447566d08b7b0da482c4a9d8dc7a8332e4d69;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index bda5304..7f4d7e5 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 */