From 4f02ad16c6afd15ecb5192d58e332d822c76c540 Mon Sep 17 00:00:00 2001 From: soren Date: Mon, 28 Feb 2005 22:10:46 +0000 Subject: [PATCH] Remove duplicate statement. --- sys/compat/linux/common/linux_hdio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/compat/linux/common/linux_hdio.c b/sys/compat/linux/common/linux_hdio.c index 003115683f5a..408449620bb8 100644 --- a/sys/compat/linux/common/linux_hdio.c +++ b/sys/compat/linux/common/linux_hdio.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_hdio.c,v 1.8 2003/06/29 22:29:29 fvdl Exp $ */ +/* $NetBSD: linux_hdio.c,v 1.9 2005/02/28 22:10:46 soren Exp $ */ /* * Copyright (c) 2000 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_hdio.c,v 1.8 2003/06/29 22:29:29 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_hdio.c,v 1.9 2005/02/28 22:10:46 soren Exp $"); #include #include @@ -89,8 +89,6 @@ linux_ioctl_hdio(struct proc *p, struct linux_sys_ioctl_args *uap, ioctlf = fp->f_ops->fo_ioctl; retval[0] = error = 0; - com = SCARG(uap, com); - switch (com) { case LINUX_HDIO_OBSOLETE_IDENTITY: case LINUX_HDIO_GET_IDENTITY: