Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp50281lqh; Mon, 6 May 2024 10:54:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+CQzJrNPz3V255Ne1gairFoKNQLZo4KjgDYwZcL4InsoDM7EMmrQ/MFEmHtNcky9IUAh/PAKgyrdnlsWSqxwIRtuuhoeiMdbIfvzl5Q== X-Google-Smtp-Source: AGHT+IHMIbfJVvIB/jZHxpOBja6+5AcFOCwQ23epeWCL2r12E/sB2fqyHXAw6iIPd5mgrKpD/bAN X-Received: by 2002:a05:6a20:9d90:b0:1af:a53b:89e with SMTP id mu16-20020a056a209d9000b001afa53b089emr4148803pzb.10.1715018053695; Mon, 06 May 2024 10:54:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715018053; cv=pass; d=google.com; s=arc-20160816; b=y7ed5OhklkQ5/RAE19dAjhe3JS4PnXWgl4iQ/zYk5/NwTBcRqKXoovIstunf4mRITM RdZy6blgQoTiD9v3pq5QMvC3WMOIj+G4ULhHajXlZ3mTOkKkPta4TqmiBo72RuSMyi60 9O3J4AJ9fg5i1eLTfANUG+13X9X/tsVAJ96Udal3iG9dFXBSe1nPPX+NKkdFln4KYx83 0Ntm3cSl62+uGqQh2thMViSIuAR32O17Of5UyMB34fRYsoifzw0KGDPbTWiH0CxdsUhg Scmyt71rvnw9KbatxYLDcrP8cVxFItjFYIJkLQ2TkLbIFk3yWvs7BfhiE+PigD/qLLV/ Ivjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:date:from :dkim-signature; bh=RG9btTpTVDSqVdfQzbkMyZFD99Xju3gLfq3u5cgVBKs=; fh=3LK242IZoCps1y3T533qzQIpDxfJeCJeOH+3FYcZL8k=; b=Rd7am3v8dXeBW28/KSfzs4XcHzQrHbxLFFUBWMBLv5oL0WUjilhRwtvqg8VgHxNOZB JWz7NC5ZqgoV50BxjrL6C97Li2jELWMRjyjWe3UGmq86aOJU/gjBopGRnYskH1BEEUt1 72JJA01Wh88RyZJbEt71UFfKWJwUPjyNe6+FbDBzMYQd+4nfsGXeQSEtoCU1g1ho5QYK H8h4tmvJukvXaENmsdTgcwm665ZaYQ5Nurw0zC6M9eIsW4CSq4pgdZCl9EpHUdrL8nGk Zm17fFrUM9pXLpDe4TcfRps/qQl/RoqB7ORnuINGp8bA+X1uBF7+2tZO6GyJPnjADXam 2hKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eny5UMju; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-169960-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fd9-20020a056a002e8900b006f458837c1fsi5355890pfb.345.2024.05.06.10.54.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 10:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169960-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eny5UMju; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-169960-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DAFE8283296 for ; Mon, 6 May 2024 14:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 218AB13D2A4; Mon, 6 May 2024 14:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eny5UMju" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 C63F413D29A; Mon, 6 May 2024 14:18:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715005089; cv=none; b=BXAyZ+SFeEyiqRpHUKRgdL6lLxTo3HjVJGPd/3VptZRORT6c0rvAPvPIsp+1eki4v9Uj/Kno5pElxvKnSCol7QYdFLU7uYF0nKpLiITtNJJV13y1hB3+mnjcp5g6o0ix5oC4YQzrlNd2E/rRfDaZAXl6b5tvIv1TVeAnm9O+3+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715005089; c=relaxed/simple; bh=QuPPpZCjbh9KHqVSDM8dTOKWSpW1SL8LzLyaE7eo07g=; h=From:Date:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=FeZPLXp+Q37OxBEutKLKHlzgdONKqso0iyr+exhmeG5NqIGHnQp3fuPvkhDwcB40FqJDh3g92279GqnYsjBzC/hPxrYJnoIMjbsviPVGe2QL2OMaI5p0si9M0AA+i2ZbQHeyhXOxkK/Qrxn6eRkM/eONrzqfwnZhz1zan1+U0JA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=eny5UMju; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715005088; x=1746541088; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=QuPPpZCjbh9KHqVSDM8dTOKWSpW1SL8LzLyaE7eo07g=; b=eny5UMjupkN8TKmwZjzDWLUp4BIWOlYhJCFs+/MQikWg+1pfQTgHMjiG vmVGIRy4H8AzuwQ8960Sgfs5gu8zPsyrP5bIjyb8M2VOeK2P8QZ4IovCm 7OueY2GrJ3XkySAzsjEJEMu/bIp2nD5DyWwXvUksmpc7jehbg7Gv6erk1 Hot0tl4yw4hm5GQg8S8mJUEsWLhsIpEYNTazQkk8xWBsgvhHrTiD2t1kO wuQqEqI2r3+WwRFvrC9YpcfDdBW4+aYnVv0Moqyhqh9KHwj5+6VCdzoYN FUc+d+G3PZrSVGpvu0RmaEqdIEiT6a2/W/87NqFAqTowafkdcuVjqvt9n g==; X-CSE-ConnectionGUID: 5xDGAX0BS1q1oj4vGEwL1w== X-CSE-MsgGUID: uIdOGG3SQZyGFqRg5mvkRg== X-IronPort-AV: E=McAfee;i="6600,9927,11065"; a="28277591" X-IronPort-AV: E=Sophos;i="6.07,258,1708416000"; d="scan'208";a="28277591" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2024 07:18:07 -0700 X-CSE-ConnectionGUID: z9ZDgbHbTQubAn77ZjhLaw== X-CSE-MsgGUID: QkMpvQWNQ1WnnIcE4Oi1Qg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,258,1708416000"; d="scan'208";a="32766651" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.68]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2024 07:18:05 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Mon, 6 May 2024 17:17:58 +0300 (EEST) To: "Dr. David Alan Gilbert" cc: bhelgaas@google.com, dave.hansen@linux.intel.com, x86@kernel.org, linux-pci@vger.kernel.org, LKML Subject: Re: [PATCH] x86: ce4100: Remove unused struct 'sim_reg_op' In-Reply-To: <20240506004647.770666-1-linux@treblig.org> Message-ID: <948a3829-96da-2708-60f8-f25546683436@linux.intel.com> References: <20240506004647.770666-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Mon, 6 May 2024, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > This doesn't look like it was ever used. Don't start with "This" but spell what you're talking about out so it can be read and understood without shortlog in Subject (or looking into the code change). > Signed-off-by: Dr. David Alan Gilbert > --- > arch/x86/pci/ce4100.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c > index 87313701f069e..f5dbd25651e0f 100644 > --- a/arch/x86/pci/ce4100.c > +++ b/arch/x86/pci/ce4100.c > @@ -35,12 +35,6 @@ struct sim_dev_reg { > struct sim_reg sim_reg; > }; > > -struct sim_reg_op { > - void (*init)(struct sim_dev_reg *reg); > - void (*read)(struct sim_dev_reg *reg, u32 value); > - void (*write)(struct sim_dev_reg *reg, u32 value); > -}; > - > #define MB (1024 * 1024) > #define KB (1024) > #define SIZE_TO_MASK(size) (~(size - 1)) > -- i.