From patchwork Tue Jan 20 03:16:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick X-Patchwork-Id: 5663561 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DBFE1C058D for ; Tue, 20 Jan 2015 03:33:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48DD320386 for ; Tue, 20 Jan 2015 03:33:05 +0000 (UTC) Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 289D4200C1 for ; Tue, 20 Jan 2015 03:33:04 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0K3SIrs044746; Mon, 19 Jan 2015 22:28:19 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t0K3GUEI010865 for ; Mon, 19 Jan 2015 22:16:30 -0500 Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0K3GUWb016480; Mon, 19 Jan 2015 22:16:30 -0500 Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0K3GR9e022790 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 19 Jan 2015 22:16:28 -0500 Received: by mail-ig0-f174.google.com with SMTP id b16so8693813igk.1; Mon, 19 Jan 2015 19:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=GHzQw5uX88YYljJkDpeo7TIK3z41O89LtdBHffhDsPE=; b=rhF1//HytfJwSxuor7jq629L7mnwVgtIgo+b/lZ+9feM3O1qCcqb2pN1hJ2Z46NHUp J5IIeOed8C38idz5SZ7Qdywx2dMR3K/8aBfcGHbEV5cxMhwGfSlg4Qtb23jZhsA9wT5y QELJGA8oq/boqu16dofo818ar2Kp1vGJQeIGMjXnYCliQswdcoNzpBfeFVBYTaaHgaxu DbwEtnqE6odY/f+xbzUnOYdP4KUVxtx0T+v5LMfqgrUv8RLaoYZgLxdW3HiNv3jLoxXI XNqZyveknXSbftJ+l2YWLsWnHoVKqawD6sgzGotWfPTT431JP6ML+bKQL1s6XFdmEgsH YwGQ== X-Received: by 10.43.154.138 with SMTP id le10mr23847926icc.50.1421723787431; Mon, 19 Jan 2015 19:16:27 -0800 (PST) Received: from nick-System-Product-Name.phub.net.cable.rogers.com (CPE0026f3330aca-CM0026f3330ac6.cpe.net.cable.rogers.com. [99.231.92.7]) by mx.google.com with ESMTPSA id f1sm1278309igt.14.2015.01.19.19.16.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Jan 2015 19:16:25 -0800 (PST) From: Nicholas Krause To: agk@redhat.com Date: Mon, 19 Jan 2015 22:16:21 -0500 Message-Id: <1421723781-21984-1-git-send-email-xerofoify@gmail.com> X-RedHat-Spam-Score: -2.7 (BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS) 209.85.213.174 mail-ig0-f174.google.com 209.85.213.174 mail-ig0-f174.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.18 X-loop: dm-devel@redhat.com Cc: linux-raid@vger.kernel.org, dm-devel@redhat.com, linux-kernel@vger.kernel.org, snitzer@redhat.com Subject: [dm-devel] [PATCH RESEND] md:Remove no longer needed fix me comment in dm-region-hash.c for removing the structure pointer, *rh from the definiton of dm_region 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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Removes the no longer needed fix me comment questioning if we need to remove the structure pointer,rh as defined as a structure of type dsm_region_hash from the definition of the structure, dm_region. Furthermore this pointer is needed in order for various functions to run and build successfully in the file, dm-region-hash.c. Signed-off-by: Nicholas Krause --- drivers/md/dm-region-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-region-hash.c b/drivers/md/dm-region-hash.c index b929fd5..823d56f 100644 --- a/drivers/md/dm-region-hash.c +++ b/drivers/md/dm-region-hash.c @@ -99,7 +99,7 @@ struct dm_region_hash { }; struct dm_region { - struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ + struct dm_region_hash *rh; region_t key; int state;