Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp181230lqo; Tue, 7 May 2024 17:01:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCU9pS7kwOECZGDSSqqaBztE6fNCjFo8nJdVgBEXm1YYOU0EE5j3Ihk7Rr3GXrCd3m/J/Mc2FZ6ecT9/Yjk/NXSdUiTPLwsQEFBSWOmw== X-Google-Smtp-Source: AGHT+IG3Lj52MldtZgmqHO4LxpURSErR3vYHaqYGaZgI95uIffb/YjZgFN0wyhFnTSKnUzJupDAO X-Received: by 2002:a17:907:1c09:b0:a59:c3d0:5508 with SMTP id a640c23a62f3a-a59fb958791mr88542666b.35.1715126489433; Tue, 07 May 2024 17:01:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715126489; cv=pass; d=google.com; s=arc-20160816; b=bn5axyuWmh1aWOB/hHeGbLPmT7/25mNo/32sW/MO5+qaspNpIv3/FNLIEI7aaF2vTq +iDWUjsUF+j+G4+8/O49nT7xa1eM4UwQCP9403HhKIqK7uUULUGKMZEjXQ1H8Oi7vlEj jLDdy5cdlmIrC3rEPE2zJ3txe7OBb0JfbIBiX+bH/HDbwcF5Q3X7T7xMVUT4f+PpMK6f x3CBiPvv6yS4dLJgEcQ6/KW8LO1YRg0AK4xPzRmSWBPnq+mTTNRPW/sKQTGLHcnChrUp Rsi9/2YWlfgBB81SBxZZlqOBDNcVvWXhhySLZ/OBmbMZ5iNMMLKjOQkcHk2SKYwT+oeY wu3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zO7+af/nqjoK/XsjAJJmhBSOwqfXQqfufQdsPrFjh/o=; fh=1rJBFCXy86gbbCw8lD38IUKu3FXOnAbfJD7fGnsebPI=; b=R8xCDcZvUVPmUWjpLp9yUdhDH8t0LD0lQDgGeLiqObVAMmLUlhAzJncBb4AUHOFhVf MVtQxyf6kN77w3jDQc503P+KMeE3kEqqsEGZRxlZSZjURaVxzKIKfFVfOg3rF5TKzIR+ c0F4AFWRQ360wQzmRGctR1y/98Ax+W0jPZ1/tb2Iikc5qhVVLiXNlJrSBRq3d56L1eWD G4QEul80bre4Sn7qYguEfPvQq7JJ+QtTKU/5NRmfxZQt1wI0Eph7XygQl5cK9I/dyVIC fgJuk16bE+Kvn8wPz/D0VWHuA67tqow8a7FyzbaxDdG/MJb1gZ7yrUYlrNYfsTyyPhvs CZ6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=XcGoajtF; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-172513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f4-20020a17090631c400b00a5591b85e55si5224928ejf.940.2024.05.07.17.01.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 17:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=XcGoajtF; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-172513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2ECB61F235AE for ; Wed, 8 May 2024 00:01:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 800A684FBC; Tue, 7 May 2024 23:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="XcGoajtF" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 7ABAC7F7DD; Tue, 7 May 2024 23:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715124267; cv=none; b=kNY0CcnzrWVD4iVJuBB1Z1/5USvGCoCDHZPwsEDpk2G5SCB0UGYfXriIMKLeFhRx479kBFjKsD1HIEtics1Jpe9jy3uxkL3aJk5xM2Cl1oGF2nrxt/xPSPJiQ0+I9+2pBHyUdJAJL7rKp5J3ri1B2nKbwXPqTEDkOpCAUP4sRc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715124267; c=relaxed/simple; bh=X2F+VlsprwM7D7QdSU7qc7Fj0UntWxZBPgo7PsGeKp0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jYD7Y2quANztln5ky5OduKlSfGr4AYfb0v6iCZYfDnkTq80g0pLed2zUJGPlwpZrcgNR/dgSykV2YqQY4MZfnZhFbZB1lIYTL5P2H47satnayZn7rWSDFFfbVtwRvYUfH3vXnXwg0W68wXud2E7cyeXL7Tt3CLLfQ4m7gdQ6ebk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=XcGoajtF; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=zO7+af/nqjoK/XsjAJJmhBSOwqfXQqfufQdsPrFjh/o=; b=XcGoajtFG7zD1NTG RNMryF46vcvoWxsSG7TqHfSqziSdpHgtXZe9YrObY5roJk/DorKqR80jHTpueB2cU9gTIOGi8mwhH pBBMY/xPdNQfkOdRJtfcvU9eBGlfOwwq3TfmrkW88fej6C1EF+IwgvFjfvfAVCPfkHV3kg29Lrv7u zvF7NhTbRxaAy/gxTFFB26DbTSD0GBn2pDRV1h/WZWsH0YfzTFV/FmHiccJ4lmFmFjY65UMyJcdi9 O03aW04Z7J4fSazgG1k6bTewelhG9nBVVviqxMpER2bC4hBRAaFL25yLOP0Hf8hQiup72N7gRz88T 0hZNdoJgdQ6+Jn/eng==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s4UA9-005Huy-1O; Tue, 07 May 2024 23:23:57 +0000 From: linux@treblig.org To: bhelgaas@google.com, ilpo.jarvinen@linux.intel.com, dave.hansen@linux.intel.com Cc: x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH v2] x86: ce4100: Remove unused struct 'sim_reg_op' Date: Wed, 8 May 2024 00:23:48 +0100 Message-ID: <20240507232348.46677-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" struct 'sim_reg_op' doesn't look like it was ever used. Remove it. 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)) -- 2.45.0