From a18b5c1d8f6db6eb985e5947e5202d885bd2d585 Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 2 Jul 2002 01:32:42 +0000 Subject: [PATCH] - remove unneeded parameter to obd_create/destroy --- lustre/obdclass/class_obd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index c997012..92ccd51 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -422,11 +422,10 @@ static int obd_class_ioctl (struct inode * inode, struct file * filp, } case OBD_IOC_CREATE: { - void *ea; obd_data2conn(&conn, data); - err = obd_create(&conn, &data->ioc_obdo1, &ea); + err = obd_create(&conn, &data->ioc_obdo1); if (err) GOTO(out, err); @@ -456,10 +455,9 @@ static int obd_class_ioctl (struct inode * inode, struct file * filp, } case OBD_IOC_DESTROY: { - void *ea; obd_data2conn(&conn, data); - err = obd_destroy(&conn, &data->ioc_obdo1, ea); + err = obd_destroy(&conn, &data->ioc_obdo1); if (err) GOTO(out, err); -- 1.8.3.1