From 161ce6fa4b6c3538f104e51e101771a2abc72677 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 22 Mar 2013 09:53:20 -0700 Subject: [PATCH] staging: comedi: ni_labpc: remove inline from labpc_counter_load() Let the compiler figure out if this function should be inlined. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c index 159d31d98707..bc4f3e689952 100644 --- a/drivers/staging/comedi/drivers/ni_labpc.c +++ b/drivers/staging/comedi/drivers/ni_labpc.c @@ -846,10 +846,10 @@ static int labpc_ai_cmdtest(struct comedi_device *dev, return 0; } -static inline int labpc_counter_load(struct comedi_device *dev, - unsigned long base_address, - unsigned int counter_number, - unsigned int count, unsigned int mode) +static int labpc_counter_load(struct comedi_device *dev, + unsigned long base_address, + unsigned int counter_number, + unsigned int count, unsigned int mode) { const struct labpc_boardinfo *board = comedi_board(dev); -- 2.20.1