2008-03-05 01:19:14

by Harvey Harrison

[permalink] [raw]
Subject: [PATCH 4/9] net: replace __inline with inline

Signed-off-by: Harvey Harrison <[email protected]>
---
drivers/net/wan/sbni.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 15d5c58..e59255a 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -751,7 +751,7 @@ upload_data( struct net_device *dev, unsigned framelen, unsigned frameno,
}


-static __inline void
+static inline void
send_complete( struct net_local *nl )
{
#ifdef CONFIG_SBNI_MULTILINE
--
1.5.4.3.500.g83a2c


2008-03-05 13:07:36

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH 4/9] net: replace __inline with inline

Harvey Harrison wrote:
> Signed-off-by: Harvey Harrison <[email protected]>
> ---
> drivers/net/wan/sbni.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
> index 15d5c58..e59255a 100644
> --- a/drivers/net/wan/sbni.c
> +++ b/drivers/net/wan/sbni.c
> @@ -751,7 +751,7 @@ upload_data( struct net_device *dev, unsigned framelen, unsigned frameno,
> }
>
>
> -static __inline void
> +static inline void
> send_complete( struct net_local *nl )
> {

better to remove the inline altogether, and let the compiler make the
decision on its own...