media: usb: siano: Fix false-positive "uninitialized variable" warning
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 21 May 2019 15:38:07 +0000 (11:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 12:25:34 +0000 (14:25 +0200)
commit45457c01171fd1488a7000d1751c06ed8560ee38
tree0edcf1733405ad989c0c4e643580811c17c672ed
parent53c7b63f797c96a30c21dd3b781fafaae096a12b
media: usb: siano: Fix false-positive "uninitialized variable" warning

GCC complains about an apparently uninitialized variable recently
added to smsusb_init_device().  It's a false positive, but to silence
the warning this patch adds a trivial initialization.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: kbuild test robot <lkp@intel.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/siano/smsusb.c