Module Name:    src
Committed By:   mlelstv
Date:           Wed Dec 31 19:37:35 UTC 2014

Modified Files:
        src/sys/dev/scsipi: cd.c

Log Message:
forgot this one. disk_set_info includes the functionality of disk_blocksize.


To generate a diff of this commit:
cvs rdiff -u -r1.325 -r1.326 src/sys/dev/scsipi/cd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/scsipi/cd.c
diff -u src/sys/dev/scsipi/cd.c:1.325 src/sys/dev/scsipi/cd.c:1.326
--- src/sys/dev/scsipi/cd.c:1.325	Sat Oct 18 08:33:28 2014
+++ src/sys/dev/scsipi/cd.c	Wed Dec 31 19:37:35 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: cd.c,v 1.325 2014/10/18 08:33:28 snj Exp $	*/
+/*	$NetBSD: cd.c,v 1.326 2014/12/31 19:37:35 mlelstv Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.325 2014/10/18 08:33:28 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.326 2014/12/31 19:37:35 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2132,7 +2132,6 @@ cd_get_parms(struct cd_softc *cd, int fl
 	 */
 	if (cd_size(cd, flags) == 0)
 		return (ENXIO);
-	disk_blocksize(&cd->sc_dk, cd->params.blksize);
 	return (0);
 }
 

Reply via email to