diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2017-04-04 13:32:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 14:03:17 +0300 |
commit | a19aa38022a37bee17e0aebf1053b1cf0496812d (patch) | |
tree | b4654a59d59fcea0128be5f4c06ecd0bf30172a0 /drivers/staging/comedi | |
parent | c5665dfb902f84002e14d30d97b47886fc9fe161 (diff) | |
download | linux-a19aa38022a37bee17e0aebf1053b1cf0496812d.tar.xz |
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>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/amplc_pci224.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_pci224.c b/drivers/staging/comedi/drivers/amplc_pci224.c index 07555cffc414..7de2cd5f0f7e 100644 --- a/drivers/staging/comedi/drivers/amplc_pci224.c +++ b/drivers/staging/comedi/drivers/amplc_pci224.c @@ -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); } |