media: staging: media: atomisp: Don't do unnecessary zeroing of memory
authorAlex Dewar <alex.dewar90@gmail.com>
Mon, 21 Sep 2020 21:53:55 +0000 (23:53 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 22 Sep 2020 08:02:10 +0000 (10:02 +0200)
commite2858fa617980243a62d6b9f659bd9321220471b
tree8f4e93d2aadf6b4d2f6ebf570d96437a95175520
parent9e76f2cff7a17af92c819ca0489ec5399f8367f7
media: staging: media: atomisp: Don't do unnecessary zeroing of memory

In a few places in pci/sh_css_params.c, memset is used to zero memory
immediately before it is freed. As none of these structs appear to
contain sensitive information, just remove the calls to memset.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css_params.c