]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: comedi: ni_labpc: remove inline from labpc_counter_load()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:53:20 +0000 (09:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:42:59 +0000 (11:42 -0700)
Let the compiler figure out if this function should be inlined.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index 159d31d98707409e207d0704f206ab4d3d14d7fc..bc4f3e6899523a7c18e6d93956439c329274e2e3 100644 (file)
@@ -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);