Re: [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return

From: Greg KH
Date: Sat Aug 30 2014 - 16:13:03 EST


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@xxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/