From patchwork Wed Jan 16 12:14:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 1987601 Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by patchwork2.kernel.org (Postfix) with ESMTP id 1B0B9DF2A2 for ; Wed, 16 Jan 2013 12:18:06 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r0GCFiOM003393; Wed, 16 Jan 2013 07:15:44 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r0GCEO7A031883 for ; Wed, 16 Jan 2013 07:14:24 -0500 Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0GCEOD0028661 for ; Wed, 16 Jan 2013 07:14:24 -0500 Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0GCENqg016781 for ; Wed, 16 Jan 2013 07:14:23 -0500 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 8F6F0A4F01; Wed, 16 Jan 2013 13:14:21 +0100 (CET) From: Hannes Reinecke To: Christophe Varoqui Date: Wed, 16 Jan 2013 13:14:11 +0100 Message-Id: <1358338456-1234-9-git-send-email-hare@suse.de> In-Reply-To: <1358338456-1234-1-git-send-email-hare@suse.de> References: <1358338456-1234-1-git-send-email-hare@suse.de> X-RedHat-Spam-Score: -6.901 (BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.16 X-loop: dm-devel@redhat.com Cc: dm-devel@redhat.com Subject: [dm-devel] [PATCH 08/13] Remove unused structures X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com structs scsi_dev and scsi_idlun are unused. Signed-off-by: Hannes Reinecke --- libmultipath/structs.h | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/libmultipath/structs.h b/libmultipath/structs.h index 2beccb3..4085900 100644 --- a/libmultipath/structs.h +++ b/libmultipath/structs.h @@ -113,12 +113,6 @@ enum detect_prio_states { DETECT_PRIO_ON, }; -struct scsi_idlun { - int dev_id; - int host_unique_id; - int host_no; -}; - struct sg_id { int host_no; int channel; @@ -130,12 +124,6 @@ struct sg_id { int unused2; }; -struct scsi_dev { - char dev[FILE_NAME_SIZE]; - struct scsi_idlun scsi_id; - int host_no; -}; - # ifndef HDIO_GETGEO # define HDIO_GETGEO 0x0301 /* get device geometry */ @@ -151,7 +139,6 @@ struct path { char dev[FILE_NAME_SIZE]; char dev_t[BLK_DEV_SIZE]; struct udev_device *udev; - struct scsi_idlun scsi_id; struct sg_id sg_id; struct hd_geometry geom; char wwid[WWID_SIZE];