diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2009-03-03 18:38:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:53:53 (GMT) |
commit | 38c39e43f90fa7ab891a2590a59497fe0a10cee2 (patch) | |
tree | 5569cc51448994bc29e6677c1c7e5fe01135576f /drivers | |
parent | d52a63bf6a298c4ffca6a5735926a585f3dd69e0 (diff) | |
download | linux-fsl-qoriq-38c39e43f90fa7ab891a2590a59497fe0a10cee2.tar.xz |
Staging: comedi: usbduxfast: remove .bss variable initialization
This patch removes explicit zeroing of usbduxfastsub
variable on init because it is in .bss section.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/usbduxfast.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index 2c888d1..1712f1d 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -1875,11 +1875,8 @@ static void __init init_usb_devices(void) * they will become valid by the probe function * and then finally by the attach-function */ - for (index = 0; index < NUMUSBDUXFAST; index++) { - memset(&(usbduxfastsub[index]), 0x00, - sizeof(usbduxfastsub[index])); + for (index = 0; index < NUMUSBDUXFAST; index++) init_MUTEX(&(usbduxfastsub[index].sem)); - } } /* |