diff options
author | Navya Sri Nizamkari <navyasri.tech@gmail.com> | 2015-03-01 23:33:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 17:09:52 -0800 |
commit | 94b1726fa63e898b76b8ab6a1edf37a9fe6abd13 (patch) | |
tree | 8c1700c7fd00ad3e412788e7fbd4548fd9555591 /drivers/staging/media | |
parent | 4d2c47a9223519aaaf1f00d964b8edcc2483dcf3 (diff) | |
download | op-kernel-dev-94b1726fa63e898b76b8ab6a1edf37a9fe6abd13.zip op-kernel-dev-94b1726fa63e898b76b8ab6a1edf37a9fe6abd13.tar.gz |
staging: media: Remove memset.
The memory area set by the call to memset is immediately
overwritten by the subsequent call to memcpy. Hence, remove that
redundant memset.
Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/davinci_vpfe/dm365_resizer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c b/drivers/staging/media/davinci_vpfe/dm365_resizer.c index 75e70e1..7cc8d1b 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_resizer.c +++ b/drivers/staging/media/davinci_vpfe/dm365_resizer.c @@ -907,7 +907,6 @@ resizer_set_defualt_configuration(struct vpfe_resizer_device *resizer) .out_chr_pos = VPFE_IPIPE_YUV422_CHR_POS_COSITE, }, }; - memset(&resizer->config, 0, sizeof(struct resizer_params)); memcpy(&resizer->config, &rsz_default_config, sizeof(struct resizer_params)); } |