Himanshu Jha 4739df6211 qed: remove unnecessary call to memset
call to memset to assign 0 value immediately after allocating
memory with kzalloc is unnecesaary as kzalloc allocates the memory
filled with 0 value.

Semantic patch used to resolve this issue:

@@
expression e,e2; constant c;
statement S;
@@

  e = kzalloc(e2, c);
  if(e == NULL) S
- memset(e, 0, e2);

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Acked-by: Sudarsana Kalluru <sudarsana.kalluru@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-15 14:02:05 -07:00
..
2017-06-04 23:08:30 -04:00
2017-05-30 12:07:01 -04:00
2017-05-18 13:21:40 -04:00
2017-05-21 12:56:53 -04:00
2017-04-03 19:16:37 -07:00
2017-05-18 13:21:40 -04:00
2017-01-01 21:02:14 -05:00
2017-05-21 12:56:53 -04:00
2017-06-09 15:49:02 -04:00
2017-05-21 12:56:53 -04:00
2017-05-21 12:56:53 -04:00
2017-06-20 12:34:07 -04:00
2017-01-01 21:02:14 -05:00
2016-10-31 15:52:35 -04:00
2017-07-03 01:43:45 -07:00