Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp264375lqb; Thu, 23 May 2024 18:34:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQTiYBzy6NBsBIyvMzyuyQDvtw2xEzGp71SaycN1TH01l8C/78x4W53HWP6m4SxZObfdfOrEQvygBKGE8pik9mEtVhj9T1nDSESMq8gA== X-Google-Smtp-Source: AGHT+IHWU01Zw7d7KGRBopRyq7ASAn9KyM0ukGXK3Wqgcv7Ym0esnzc6JNmQNAhbuZkYoY06ueL9 X-Received: by 2002:ac8:5906:0:b0:43a:cfec:a67e with SMTP id d75a77b69052e-43fb0edcd71mr7510351cf.45.1716514495916; Thu, 23 May 2024 18:34:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716514495; cv=pass; d=google.com; s=arc-20160816; b=J+hvoF4S8m8Ta3khzRVg7wEfESomtF84j90rLRbpDm/x6ySw6yl8ofMLGRs+xwsW/V 7w06Dm95vMQHwlPHlPpV796iWXHRc/BagyAJtEC+fVye1myDOw0r3PX/+utS9/oBFgVU 272SYzdiKZwX3w706E4IJMbdDutnNInvyKM1AH0/JwJ2BczbyR9Qf1u85Jj7p54dDmWz Kwq78A1vy1RhduMqB+xL8CZF3GB45wCzr3+ThFrwYGlUxfAKtPIIufStJr64CulzQOs1 nC7lJv4tx3Pl2SNGdKOhdLpLU9cpgypsaehAHCghl8DsPXBpyZEy16O2RNezHFXx9bYv jMrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=u7zyDSjhpyorp5nAJxno7CoO9uDDRfWCi8vAJwbr4pI=; fh=zTUxeT/Tz5nQkGclpS5Sw4vO/VKUG/9vlc+mq3s64iY=; b=0CiPn3QE5N42sN8XZ/+ZQU6fL2R1aP4QnOEmbg5/Fv5jwd6mjrFEwwsPMs79uU0SKk 5RRzdR33unUAHN0ZYS75wgLGzplMrVrc6cFGrq+ugVmLUzwxiJ01Sf4yWjbtKVJicvXs boxbJA8XM5IIQ2os1GSyRfnTXGlDypveivwCzh9vFguxg5G9A2xjhYGCc792i5fjZbMz S92kpw384RwQB5scoy5oR+rS5R7FwLTCfSxNmPBiTTAbAGlIrpJjxf8x5gcTqY9MlXQ1 OEoJmz2gPviea/D7iwUrvaS1WyKL1A5PY5FFwGk9ic2KeJzPwB9LIuPDAkNS1SifnVmg 53Aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C1DgJ7D+; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-188208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18a6bc2si7372971cf.236.2024.05.23.18.34.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 18:34:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C1DgJ7D+; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-188208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A502E1C21598 for ; Fri, 24 May 2024 01:34:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42752101C8; Fri, 24 May 2024 01:34:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="C1DgJ7D+" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE5F12C9A for ; Fri, 24 May 2024 01:34:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716514488; cv=none; b=TbiXMCZJOan38PTKYWAQRxvKRqHu25LUkClI21gJcDEFxXCIhQJh9OrtrN6hW1UBmmmrg/UqKayR42aYwgLPGDwFZB4HwLO52Jw5xV6qiMNQGLkhDMAslu3DYXiCgULbvMGYnXPtXtxhYAHtqmO+Pk2l8SNRzXbQlWKW7EyFrL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716514488; c=relaxed/simple; bh=6eqPKy9djQ44kxy9/4ekHNwI380SgUbokve8MKOW5nw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F5UVyQmJWYU0SwCyzKrGilh+zAAnRaGdnoWicU7M7cQf1ve2co/wEu8LaD0OVnFqOh+FXVjzCOzkK2EqOo0Vjs9vpojwx49i7qwg6yW7N0euBcqcpui7GEfED0NW4IFX5I1kFFkWL/MrL6TqnGHvmF1AmvMkw1QdeAu0WUVWhIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=C1DgJ7D+; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716514485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u7zyDSjhpyorp5nAJxno7CoO9uDDRfWCi8vAJwbr4pI=; b=C1DgJ7D+EF28NlN15v5CE/Jc5hrbtD0GiVB4hxyLtviMoyJ2nzVNNlmQDly4VNEKkU/FGQ xwL8SylDSc47eeQa1eZmSf+o/mYuZyODm+m3iLNhHAJX7suum9KUr/stEayq5SiOleUUws GtT77HpHjNc1mtLEoAfnkTnksp6/iu4= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-418-ZIX_0hKeM9ap0z4eUk3t9A-1; Thu, 23 May 2024 21:34:43 -0400 X-MC-Unique: ZIX_0hKeM9ap0z4eUk3t9A-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-794aaf57a38so39433885a.0 for ; Thu, 23 May 2024 18:34:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716514483; x=1717119283; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u7zyDSjhpyorp5nAJxno7CoO9uDDRfWCi8vAJwbr4pI=; b=BN36NqcX3cvfZeMhJJorWABbjmLO7AcpN+SzSb18Gd7XE29E1VEkgf7u14+R+bLKBX 0JRzhu2Ss8wjZz3gqrkezQg3eMkasi4qoc7gjUzpcOMCtuEtRNrlQZa/9JfmYSw5t2Hb wMWAZG4xhvzkjOytv2BprrqE/I5PAZ56GtR6AgebRRNzKl8x00neDLcHHpYxnWtAxPZm Mp/MIf12pUyfqdQQ2XwSGpPKGlQ7bNjnZgh2+pzulX8TTI9R07X1bMd5IJTH2XlV7Y7z 3sdkisiEZdr1Uf13zqc9SIXHR9OcpeHlH5vcE3QCTz1DNI24NZSs2Yk641KThYE0aZA2 HrQw== X-Forwarded-Encrypted: i=1; AJvYcCU/LMVAtlCYZXT7CMV7mSOqz35KKv/LzmX79F3SZJ7+RoA94gFc3Vbs8Wtzaw3iyfCoctHwfBw7R3/pZZ4NzOTedEJ3AExRxDjrmpu2 X-Gm-Message-State: AOJu0YxF1LemL1Uw+pygAWyHJ9upNVC3FP/LJVeUh4SNtDdLz7HVW/Fl Q+HU9rmEaRSbmXc9lyXsINe2MG4FxSa9V5wmQ6X28wF2I7X+IY8Yri/0oQFQKl/9XnNGniWhKd4 rJOstKjOpxcrWCKpvBC7LpM1v7MyAviMd/kdCfBLAJuJDuhZTXzuz7wjt7/udRA== X-Received: by 2002:a05:6214:5c07:b0:6a0:8559:d137 with SMTP id 6a1803df08f44-6abcdaa8559mr9297986d6.61.1716514482821; Thu, 23 May 2024 18:34:42 -0700 (PDT) X-Received: by 2002:a05:6214:5c07:b0:6a0:8559:d137 with SMTP id 6a1803df08f44-6abcdaa8559mr9297736d6.61.1716514482293; Thu, 23 May 2024 18:34:42 -0700 (PDT) Received: from [192.168.1.175] ([70.22.187.239]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6ac070dc638sm2357546d6.35.2024.05.23.18.34.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 May 2024 18:34:41 -0700 (PDT) Message-ID: Date: Thu, 23 May 2024 21:34:41 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] dm vdo: remove unused struct 'uds_attribute' Content-Language: en-US To: "Dr. David Alan Gilbert" Cc: dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, Mike Snitzer , Mikulas Patocka References: <20240523210716.309324-1-linux@treblig.org> <5c063045-4bce-14e4-9930-77cc0ed2edad@redhat.com> From: Matthew Sakai In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/23/24 21:09, Dr. David Alan Gilbert wrote: > * Matthew Sakai (msakai@redhat.com) wrote: >> On 5/23/24 17:07, linux@treblig.org wrote: >>> From: "Dr. David Alan Gilbert" >>> >>> 'uds_attribute' is unused since >>> commit a9da0fb6d8c6 ("dm vdo: remove all sysfs interfaces"). >>> >>> Remove it. >>> >>> Signed-off-by: Dr. David Alan Gilbert >> >> Yes, this was clearly an oversight on our part. Feel free to add: >> Reviewed-by: Matthew Sakai > > Thanks for the quick review. > Is this something you'll send a pull for, or do I need to > ask someone else to include it? No need to do anything else, I think. Mike (or Mikulas), can you include this with the next set of device mapper patches? > Dave > >>> --- >>> drivers/md/dm-vdo/dedupe.c | 5 ----- >>> 1 file changed, 5 deletions(-) >>> >>> diff --git a/drivers/md/dm-vdo/dedupe.c b/drivers/md/dm-vdo/dedupe.c >>> index 117266e1b3ae..39ac68614419 100644 >>> --- a/drivers/md/dm-vdo/dedupe.c >>> +++ b/drivers/md/dm-vdo/dedupe.c >>> @@ -148,11 +148,6 @@ >>> #include "vdo.h" >>> #include "wait-queue.h" >>> -struct uds_attribute { >>> - struct attribute attr; >>> - const char *(*show_string)(struct hash_zones *hash_zones); >>> -}; >>> - >>> #define DEDUPE_QUERY_TIMER_IDLE 0 >>> #define DEDUPE_QUERY_TIMER_RUNNING 1 >>> #define DEDUPE_QUERY_TIMER_FIRED 2 >> >>