[OPW,kernel,2/2] Staging: lustre: fix return is not a function, parentheses are not required in lo.c
diff mbox

Message ID 1381265002-4700-2-git-send-email-ebru.akagunduz@gmail.com
State Accepted
Headers show

Commit Message

Ebru Akagündüz Oct. 8, 2013, 8:43 p.m. UTC
fix checkpatch.pl issues with return is not a function,
parentheses are not required in lo.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
---
 drivers/staging/lustre/lnet/lnet/lo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Josh Triplett Oct. 8, 2013, 11:17 p.m. UTC | #1
On Tue, Oct 08, 2013 at 11:43:22PM +0300, Ebru Akagunduz wrote:
> fix checkpatch.pl issues with return is not a function,
> parentheses are not required in lo.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
>  drivers/staging/lustre/lnet/lnet/lo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/lustre/lnet/lnet/lo.c b/drivers/staging/lustre/lnet/lnet/lo.c
> index 609e420..efc798e 100644
> --- a/drivers/staging/lustre/lnet/lnet/lo.c
> +++ b/drivers/staging/lustre/lnet/lnet/lo.c
> @@ -102,7 +102,7 @@ lolnd_startup(lnet_ni_t *ni)
>  	LASSERT(!lolnd_instanced);
>  	lolnd_instanced = 1;
>  
> -	return (0);
> +	return 0;
>  }
>  
>  lnd_t the_lolnd = {
> -- 
> 1.8.1.2
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Greg Kroah-Hartman Oct. 11, 2013, 8:35 p.m. UTC | #2
On Tue, Oct 08, 2013 at 11:43:22PM +0300, Ebru Akagunduz wrote:
> fix checkpatch.pl issues with return is not a function,
> parentheses are not required in lo.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/lustre/lnet/lnet/lo.c b/drivers/staging/lustre/lnet/lnet/lo.c
index 609e420..efc798e 100644
--- a/drivers/staging/lustre/lnet/lnet/lo.c
+++ b/drivers/staging/lustre/lnet/lnet/lo.c
@@ -102,7 +102,7 @@  lolnd_startup(lnet_ni_t *ni)
 	LASSERT(!lolnd_instanced);
 	lolnd_instanced = 1;
 
-	return (0);
+	return 0;
 }
 
 lnd_t the_lolnd = {