Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi forgot this one. disk_set_info includes the f...
details: https://anonhg.NetBSD.org/src/rev/9b32e55535c0
branches: trunk
changeset: 335254:9b32e55535c0
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Dec 31 19:37:35 2014 +0000
description:
forgot this one. disk_set_info includes the functionality of disk_blocksize.
diffstat:
sys/dev/scsipi/cd.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 5be6a09dcfe7 -r 9b32e55535c0 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c Wed Dec 31 18:43:18 2014 +0000
+++ b/sys/dev/scsipi/cd.c Wed Dec 31 19:37:35 2014 +0000
@@ -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 @@
*/
if (cd_size(cd, flags) == 0)
return (ENXIO);
- disk_blocksize(&cd->sc_dk, cd->params.blksize);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index