diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-24 03:07:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 16:41:20 +0300 |
commit | dd246486f94694edb86e898a24a61ebf2f2fdba4 (patch) | |
tree | 7363773a4e733896f5828f1339a22d896feb5bd7 /drivers/firmware/google/vpd_decode.c | |
parent | 9920a33e3573a207cd49895080e2806134e5e56f (diff) | |
download | linux-dd246486f94694edb86e898a24a61ebf2f2fdba4.tar.xz |
firmware: vpd: do not clear statically allocated data
ro_vpd and rw_vpd are static module-scope variables that are guaranteed
to be initialized with zeroes, there is no need for explicit memset().
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/google/vpd_decode.c')
0 files changed, 0 insertions, 0 deletions