Re: [PATCH] staging: unisys: visornic: remove useless memset

From: Ben Romer
Date: Tue Jan 26 2016 - 14:52:42 EST


On Mon, 2016-01-25 at 20:22 +0000, Hugo Camboulive wrote:
> alloc_etherdev() calls alloc_netdev_mqs(), which
> already uses kzalloc/vzalloc.
>
> This clears a sparse warning :
> drivers/staging/unisys/visornic/visornic_main.c:1366:15: warning:
> memset with byte count of 1460112
>
> Signed-off-by: Hugo Camboulive <hugo.camboulive@xxxxxxxxx>

Tested, works fine. :)

Signed-off-by: Benjamin Romer <benjamin.romer@xxxxxxxxxx>