diff options
author | Johan Hovold <johan@kernel.org> | 2019-11-05 09:41:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-07 11:17:49 +0100 |
commit | 30da837a4938438a0259a7bc38dc05d66fa77c08 (patch) | |
tree | bf9de075cb5b7d85870a28dd9f5af5e20b4260b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 07efa8738853696f100b0495b767823308330b3d (diff) |
USB: legousbtower: zero driver data at allocation
Zero the driver data at allocation rather than depend on explicit
zeroing, which easy to miss.
Also drop an unnecessary driver-data pointer initialisation.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105084152.16322-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions