From: Ian Abbott Date: Tue, 4 Apr 2017 10:32:26 +0000 (+0100) Subject: staging: comedi: amplc_pci224: remove 'inline' from pci224_gat_config() X-Git-Tag: v4.12-rc1~84^2~243 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a19aa38022a37bee17e0aebf1053b1cf0496812d;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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); }