Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Remove unused 'struct lwp *' from rf_getdi...
details: https://anonhg.NetBSD.org/src/rev/35208367c03b
branches: trunk
changeset: 767923:35208367c03b
user: oster <oster%NetBSD.org@localhost>
date: Wed Aug 03 14:44:38 2011 +0000
description:
Remove unused 'struct lwp *' from rf_getdisksize. No functional changes.
diffstat:
sys/dev/raidframe/rf_copyback.c | 6 +++---
sys/dev/raidframe/rf_disks.c | 6 +++---
sys/dev/raidframe/rf_kintf.h | 4 ++--
sys/dev/raidframe/rf_netbsdkintf.c | 6 +++---
4 files changed, 11 insertions(+), 11 deletions(-)
diffs (99 lines):
diff -r 07c001d933c6 -r 35208367c03b sys/dev/raidframe/rf_copyback.c
--- a/sys/dev/raidframe/rf_copyback.c Wed Aug 03 14:13:07 2011 +0000
+++ b/sys/dev/raidframe/rf_copyback.c Wed Aug 03 14:44:38 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_copyback.c,v 1.47 2011/05/11 18:13:12 mrg Exp $ */
+/* $NetBSD: rf_copyback.c,v 1.48 2011/08/03 14:44:38 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -38,7 +38,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_copyback.c,v 1.47 2011/05/11 18:13:12 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_copyback.c,v 1.48 2011/08/03 14:44:38 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -162,7 +162,7 @@
if ((retcode = VOP_GETATTR(vp, &va, curlwp->l_cred)) != 0)
return;
- retcode = rf_getdisksize(vp, curlwp, &raidPtr->Disks[fcol]);
+ retcode = rf_getdisksize(vp, &raidPtr->Disks[fcol]);
if (retcode) {
return;
}
diff -r 07c001d933c6 -r 35208367c03b sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c Wed Aug 03 14:13:07 2011 +0000
+++ b/sys/dev/raidframe/rf_disks.c Wed Aug 03 14:44:38 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.c,v 1.80 2011/07/29 19:55:50 oster Exp $ */
+/* $NetBSD: rf_disks.c,v 1.81 2011/08/03 14:44:38 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -60,7 +60,7 @@
***************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.80 2011/07/29 19:55:50 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.81 2011/08/03 14:44:38 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -618,7 +618,7 @@
}
}
- if ((error = rf_getdisksize(vp, curlwp, diskPtr)) != 0)
+ if ((error = rf_getdisksize(vp, diskPtr)) != 0)
return (error);
/*
diff -r 07c001d933c6 -r 35208367c03b sys/dev/raidframe/rf_kintf.h
--- a/sys/dev/raidframe/rf_kintf.h Wed Aug 03 14:13:07 2011 +0000
+++ b/sys/dev/raidframe/rf_kintf.h Wed Aug 03 14:44:38 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_kintf.h,v 1.22 2011/07/29 19:55:50 oster Exp $ */
+/* $NetBSD: rf_kintf.h,v 1.23 2011/08/03 14:44:38 oster Exp $ */
/*
* rf_kintf.h
*
@@ -60,7 +60,7 @@
void rf_UnconfigureVnodes( RF_Raid_t * );
void rf_close_component( RF_Raid_t *, struct vnode *, int);
void rf_disk_unbusy(RF_RaidAccessDesc_t *);
-int rf_getdisksize(struct vnode *, struct lwp *, RF_RaidDisk_t *);
+int rf_getdisksize(struct vnode *, RF_RaidDisk_t *);
int rf_sync_component_caches(RF_Raid_t *raidPtr);
#endif /* _RF__RF_KINTF_H_ */
diff -r 07c001d933c6 -r 35208367c03b sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Wed Aug 03 14:13:07 2011 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Wed Aug 03 14:44:38 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.293 2011/07/30 12:08:36 jmcneill Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.294 2011/08/03 14:44:38 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.293 2011/07/30 12:08:36 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.294 2011/08/03 14:44:38 oster Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -3757,7 +3757,7 @@
}
int
-rf_getdisksize(struct vnode *vp, struct lwp *l, RF_RaidDisk_t *diskPtr)
+rf_getdisksize(struct vnode *vp, RF_RaidDisk_t *diskPtr)
{
uint64_t numsecs;
unsigned secsize;
Home |
Main Index |
Thread Index |
Old Index