[PATCH v2] staging: slicoss: Remove return statement in void function
Daniel Baluta
daniel.baluta at gmail.com
Sun Sep 28 09:42:15 EEST 2014
On Sun, Sep 28, 2014 at 12:21 AM, Georgiana Chelu
<georgiana.chelu93 at gmail.com> wrote:
> Fix the following checkpatch.pl warning:
> WARNING: void function return statements are not generally useful
>
> Signed-off-by: Georgiana Chelu <georgiana.chelu93 at gmail.com>
> ---
> changes in V2:
> * more specific commit message
> --- //this line shouldn't be here :)
Do not add --- by hand! Commit should look like this:
> Fix the following checkpatch.pl warning:
> WARNING: void function return statements are not generally useful
>
> Signed-off-by: Georgiana Chelu <georgiana.chelu93 at gmail.com>
> ---
> changes in V2:
> * more specific commit message
> drivers/staging/slicoss/slicoss.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
Otherwise, it looks good. But as I said it's a duplicate.
Daniel.
More information about the firefly
mailing list