staging: comedi: amplc_pci224: remove 'inline' from pci224_gat_config()

Let the compiler figure out whether `pci224_gat_confip()` should be
inlined by itself.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2017-04-04 11:32:26 +01:00 committed by Greg Kroah-Hartman
parent c5665dfb90
commit a19aa38022

View file

@ -217,8 +217,7 @@
#define GAT_EXT 2 /* reserved (external gate input) */
#define GAT_NOUTNM2 3 /* inverted output of channel-2 modulo total */
static inline unsigned int pci224_gat_config(unsigned int chan,
unsigned int src)
static unsigned int pci224_gat_config(unsigned int chan, unsigned int src)
{
return ((chan & 3) << 3) | (src & 7);
}