All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8188eu: Change return type of function to void
@ 2015-02-27 20:23 Vatika Harlalka
  2015-03-02  0:21 ` [Outreachy kernel] " Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Vatika Harlalka @ 2015-02-27 20:23 UTC (permalink / raw)
  To: outreachy-kernel

Return is made void as the function is only called once where its
return value is not used.

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
 drivers/staging/rtl8188eu/hal/bb_cfg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/bb_cfg.c b/drivers/staging/rtl8188eu/hal/bb_cfg.c
index baebe35..0fad714 100644
--- a/drivers/staging/rtl8188eu/hal/bb_cfg.c
+++ b/drivers/staging/rtl8188eu/hal/bb_cfg.c
@@ -398,7 +398,7 @@ static void rtl_bb_delay(struct adapter *adapt, u32 addr, u32 data)
 	}
 }
 
-static bool set_baseband_phy_config(struct adapter *adapt)
+static void set_baseband_phy_config(struct adapter *adapt)
 {
 	u32 i;
 	u32 arraylen = sizeof(array_phy_reg_1t_8188e)/sizeof(u32);
@@ -411,7 +411,6 @@ static bool set_baseband_phy_config(struct adapter *adapt)
 		if (v1 < 0xCDCDCDCD)
 			rtl_bb_delay(adapt, v1, v2);
 	}
-	return true;
 }
 
 /*  PHY_REG_PG.TXT  */
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] [PATCH] Staging: rtl8188eu: Change return type of function to void
  2015-02-27 20:23 [PATCH] Staging: rtl8188eu: Change return type of function to void Vatika Harlalka
@ 2015-03-02  0:21 ` Greg KH
  2015-03-02  6:26   ` Vatika Harlalka
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-03-02  0:21 UTC (permalink / raw)
  To: Vatika Harlalka; +Cc: outreachy-kernel

On Sat, Feb 28, 2015 at 01:53:45AM +0530, Vatika Harlalka wrote:
> Return is made void as the function is only called once where its
> return value is not used.
> 
> Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
> ---
>  drivers/staging/rtl8188eu/hal/bb_cfg.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

All of your patches for this driver seem to be dependant on the previous
patch, and I don't know what order to apply them in.

So please resend all of them, in an ordered list of patches, so I have a
chance to get them correct.

thanks,

greg k-h


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] [PATCH] Staging: rtl8188eu: Change return type of function to void
  2015-03-02  0:21 ` [Outreachy kernel] " Greg KH
@ 2015-03-02  6:26   ` Vatika Harlalka
  0 siblings, 0 replies; 3+ messages in thread
From: Vatika Harlalka @ 2015-03-02  6:26 UTC (permalink / raw)
  To: Greg KH; +Cc: outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

I have sent a combined patchset for the patches from this
driver which were not applied.
I'm sorry for the confusion caused!

[-- Attachment #2: Type: text/html, Size: 172 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-02  6:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 20:23 [PATCH] Staging: rtl8188eu: Change return type of function to void Vatika Harlalka
2015-03-02  0:21 ` [Outreachy kernel] " Greg KH
2015-03-02  6:26   ` Vatika Harlalka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.