RE: [PATCH 1/1] drivers/net/hyperv/netvsc.c: remove unnecessary null test before kfree

From: Haiyang Zhang
Date: Sat Jun 28 2014 - 08:53:15 EST




> -----Original Message-----
> From: Fabian Frederick [mailto:fabf@xxxxxxxxx]
> Sent: Saturday, June 28, 2014 6:37 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Fabian Frederick; KY Srinivasan; Haiyang Zhang;
> devel@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [PATCH 1/1] drivers/net/hyperv/netvsc.c: remove unnecessary
> null test before kfree
>
> Fix checkpatch warning:
> WARNING: kfree(NULL) is safe this check is probably not required
>
> Cc: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>
> Cc: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Cc: devel@xxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Also, please add netdev@xxxxxxxxxxxxxxx to the recipients.
Thanks.
--
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/