commit | 30da837a4938438a0259a7bc38dc05d66fa77c08 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Nov 05 09:41:41 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 07 11:17:49 2019 +0100 |
tree | bf9de075cb5b7d85870a28dd9f5af5e20b4260b7 | |
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>