From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: [PATCH] [17/20] Remove unchecked_isa_dma from sysfs Date: Fri, 7 Mar 2008 18:54:17 +0100 (CET) Message-ID: <20080307175417.1599B1B41AE@basil.firstfloor.org> References: <20080307653.720459648@firstfloor.org> Return-path: Received: from smtp-out02.alice-dsl.net ([88.44.60.12]:53549 "EHLO smtp-out02.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758449AbYCGRyV (ORCPT ); Fri, 7 Mar 2008 12:54:21 -0500 In-Reply-To: <20080307653.720459648@firstfloor.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James.Bottomley@HansenPartnership.com, linux-scsi@vger.kernel.org, axboe@kernel.dk I opted to remove it because it's unlikely that user space uses it. An alternative would be to always make it report 0 now. Signed-off-by: Andi Kleen --- drivers/scsi/scsi_sysfs.c | 2 -- 1 file changed, 2 deletions(-) Index: linux/drivers/scsi/scsi_sysfs.c =================================================================== --- linux.orig/drivers/scsi/scsi_sysfs.c +++ linux/drivers/scsi/scsi_sysfs.c @@ -237,7 +237,6 @@ shost_rd_attr(host_busy, "%hu\n"); shost_rd_attr(cmd_per_lun, "%hd\n"); shost_rd_attr(can_queue, "%hd\n"); shost_rd_attr(sg_tablesize, "%hu\n"); -shost_rd_attr(unchecked_isa_dma, "%d\n"); shost_rd_attr2(proc_name, hostt->proc_name, "%s\n"); static struct class_device_attribute *scsi_sysfs_shost_attrs[] = { @@ -246,7 +245,6 @@ static struct class_device_attribute *sc &class_device_attr_cmd_per_lun, &class_device_attr_can_queue, &class_device_attr_sg_tablesize, - &class_device_attr_unchecked_isa_dma, &class_device_attr_proc_name, &class_device_attr_scan, &class_device_attr_state,