patch-2.1.124 linux/drivers/sbus/audio/amd7930.c
Next file: linux/drivers/sbus/audio/audio.c
Previous file: linux/drivers/sbus/audio/Makefile
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Oct 4 10:22:43 1998
- Orig file:
v2.1.123/linux/drivers/sbus/audio/amd7930.c
- Orig date:
Thu Aug 6 14:06:32 1998
diff -u --recursive --new-file v2.1.123/linux/drivers/sbus/audio/amd7930.c linux/drivers/sbus/audio/amd7930.c
@@ -1334,10 +1334,7 @@
/* Point at the information structure and initialize it. */
drv->ops = &amd7930_ops;
info = (struct amd7930_info *)drv->private;
- info->Bb.output_ptr = info->Bb.input_ptr = NULL;
- info->Bb.output_count = info->Bb.input_count = 0;
- info->Bc.output_ptr = info->Bc.input_ptr = NULL;
- info->Bc.output_count = info->Bc.input_count = 0;
+ memset(info, 0, sizeof(*info));
info->ints_on = 1; /* force disable below */
drv->dev = sdev;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov