Remove unused 'struct lwp *' from rf_getdisksize. No functional changes.

This commit is contained in:
oster 2011-08-03 14:44:38 +00:00
parent cee5599b68
commit 6f6c76259e
4 changed files with 11 additions and 11 deletions

View File

@ -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 @@ rf_CopybackReconstructedData(RF_Raid_t *raidPtr)
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;
}

View File

@ -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 @@ rf_ConfigureDisk(RF_Raid_t *raidPtr, char *bf, RF_RaidDisk_t *diskPtr,
}
}
if ((error = rf_getdisksize(vp, curlwp, diskPtr)) != 0)
if ((error = rf_getdisksize(vp, diskPtr)) != 0)
return (error);
/*

View File

@ -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_print_component_label(RF_ComponentLabel_t *);
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_ */

View File

@ -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 @@ rf_buf_queue_check(int raidid)
}
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;