From: H Hartley Sweeten Date: Thu, 18 Sep 2014 18:41:20 +0000 (-0700) Subject: staging: comedi: comedi_fc.h: remove cfc_bytes_per_scan() X-Git-Tag: v5.15~16669^2~1131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3055f9ef3b12b8c4c2029fb76d0163733090594;p=platform%2Fkernel%2Flinux-starfive.git staging: comedi: comedi_fc.h: remove cfc_bytes_per_scan() This inline function is no longer used. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/comedi_fc.h b/drivers/staging/comedi/drivers/comedi_fc.h index d381bc1..d8a6a8e 100644 --- a/drivers/staging/comedi/drivers/comedi_fc.h +++ b/drivers/staging/comedi/drivers/comedi_fc.h @@ -23,11 +23,6 @@ #include "../comedidev.h" -static inline unsigned int cfc_bytes_per_scan(struct comedi_subdevice *s) -{ - return comedi_bytes_per_scan(s); -} - static inline void cfc_inc_scan_progress(struct comedi_subdevice *s, unsigned int num_bytes) {