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

2016-01-26 Thread Ben Romer
On Mon, 2016-01-25 at 20:22 +, 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

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

2016-01-25 Thread Hugo Camboulive
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 --- drivers/staging/unisys/visornic/visornic_main.c |