summaryrefslogtreecommitdiff
path: root/sys/scsi/cd_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/cd_scsi.c')
-rw-r--r--sys/scsi/cd_scsi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/scsi/cd_scsi.c b/sys/scsi/cd_scsi.c
index 760cdac868b..b8791d16e3e 100644
--- a/sys/scsi/cd_scsi.c
+++ b/sys/scsi/cd_scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd_scsi.c,v 1.7 2005/05/14 00:20:43 krw Exp $ */
+/* $OpenBSD: cd_scsi.c,v 1.8 2005/05/23 07:06:16 krw Exp $ */
/* $NetBSD: cd_scsi.c,v 1.14 1998/08/31 22:28:06 cgd Exp $ */
/*-
@@ -98,7 +98,6 @@ cd_scsibus_set_pa_immed(cd, flags)
struct scsi_cd_mode_data data;
int error;
- bzero(&data, sizeof(data));
error = scsi_mode_sense(cd->sc_link, 0, AUDIO_PAGE,
(struct scsi_mode_header *)&data, AUDIOPAGESIZE, flags, 20000);
if (error != 0)
@@ -120,7 +119,6 @@ cd_scsibus_setchan(cd, p0, p1, p2, p3, flags)
struct scsi_cd_mode_data data;
int error;
- bzero(&data, sizeof(data));
error = scsi_mode_sense(cd->sc_link, 0, AUDIO_PAGE,
(struct scsi_mode_header *)&data, AUDIOPAGESIZE, flags, 20000);
if (error != 0)
@@ -145,7 +143,6 @@ cd_scsibus_getvol(cd, arg, flags)
struct scsi_cd_mode_data data;
int error;
- bzero(&data, sizeof(data));
error = scsi_mode_sense(cd->sc_link, 0, AUDIO_PAGE,
(struct scsi_mode_header *)&data, AUDIOPAGESIZE, flags, 20000);
if (error != 0)
@@ -168,7 +165,6 @@ cd_scsibus_setvol(cd, arg, flags)
struct scsi_cd_mode_data data;
int error;
- bzero(&data, sizeof(data));
error = scsi_mode_sense(cd->sc_link, 0, AUDIO_PAGE,
(struct scsi_mode_header *)&data, AUDIOPAGESIZE, flags, 20000);
if (error != 0)