From: H Hartley Sweeten Date: Fri, 22 Mar 2013 16:53:20 +0000 (-0700) Subject: staging: comedi: ni_labpc: remove inline from labpc_counter_load() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=161ce6fa4b6c3538f104e51e101771a2abc72677;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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);