* [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return
@ 2014-08-30 18:14 Andrew Plummer
2014-08-30 20:12 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Plummer @ 2014-08-30 18:14 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Andrew Plummer
Remove empty return at end of function.
Signed-off-by: Andrew Plummer <plummer574@gmail.com>
---
drivers/staging/nokia_h4p/nokia_fw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/nokia_h4p/nokia_fw.c b/drivers/staging/nokia_h4p/nokia_fw.c
index 14ba219..18953ae 100644
--- a/drivers/staging/nokia_h4p/nokia_fw.c
+++ b/drivers/staging/nokia_h4p/nokia_fw.c
@@ -197,8 +197,6 @@ void hci_h4p_parse_fw_event(struct hci_h4p_info *info, struct sk_buff *skb)
dev_err(info->dev, "Don't know how to parse fw event\n");
info->fw_error = -EINVAL;
}
-
- return;
}
MODULE_FIRMWARE(FW_NAME_TI1271_PRELE);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return
2014-08-30 18:14 [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return Andrew Plummer
@ 2014-08-30 20:12 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-08-30 20:12 UTC (permalink / raw)
To: Andrew Plummer; +Cc: devel, linux-kernel
On Sat, Aug 30, 2014 at 07:14:51PM +0100, Andrew Plummer wrote:
> Remove empty return at end of function.
>
> Signed-off-by: Andrew Plummer <plummer574@gmail.com>
> ---
> drivers/staging/nokia_h4p/nokia_fw.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/nokia_h4p/nokia_fw.c b/drivers/staging/nokia_h4p/nokia_fw.c
> index 14ba219..18953ae 100644
> --- a/drivers/staging/nokia_h4p/nokia_fw.c
> +++ b/drivers/staging/nokia_h4p/nokia_fw.c
> @@ -197,8 +197,6 @@ void hci_h4p_parse_fw_event(struct hci_h4p_info *info, struct sk_buff *skb)
> dev_err(info->dev, "Don't know how to parse fw event\n");
> info->fw_error = -EINVAL;
> }
> -
> - return;
> }
>
> MODULE_FIRMWARE(FW_NAME_TI1271_PRELE);
Sorry, but I just deleted this driver from my tree, so I can't take a
patch for the code :(
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-30 20:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-30 18:14 [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return Andrew Plummer
2014-08-30 20:12 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox