Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp928630rdb; Thu, 15 Feb 2024 22:56:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUKHmOLIhbhT8BHkFTWi4GqMVphM61z4XnmVDwnSGh+eMzBUydF2Qg15yqgEQ9cqR3neYXjmT2RpWNEAuoQ+6QDXq7BMYc4E7j0ZuOz6A== X-Google-Smtp-Source: AGHT+IFTIcL+t0OqnfErw/N+9eLfY+LufaGdDI6VPmI+95XEcLOUvH+Zu7x5E6vLQND9omhqrdHo X-Received: by 2002:a17:906:46da:b0:a3c:f6dc:ea46 with SMTP id k26-20020a17090646da00b00a3cf6dcea46mr2670089ejs.49.1708066600423; Thu, 15 Feb 2024 22:56:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066600; cv=pass; d=google.com; s=arc-20160816; b=IZOLUReHg5LQMjyAE/BD9rIwFt5kxWs2GZZfEvIFNqizsN2k9wqSgrflhxEOGcC5O5 TSd5Z42modu8fjqj6LRy425d/L+cUC0JZrWROEux1H9mIbyanM7qSpUqCfxtqadbItby sDLR14GUwcE4OrxiEk/phlo16MaYXa7Nns2XIYxh26OAqgGpIdZ+vrlzw8s0xwUdcvda uMOeV+VlEigGt0TMkd7FXvjaPNWrYM4SjWqkRVe0JL3Fz4DVgk9LeveyMTyQ+LIAdFji zSmkue4Lrte3zoD+3vN598BzrEx3g/qN/adKpcSF7Vgk1h7K7L2UQGIbcGYILmHHrQYu 3Wvw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WkkFHEvo2B9TE0nNh5I41QgfO0rPSvAfMcHhWdTuDxo=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=TMSeIqFefKM+PWEFyC3RIKH7UiS5n8G7y0Y6q0hJ/iOwa4iVWrxXSoFaq+awWHxP0J j6LODkeLQ9LSPsoQYceHloldzXfcS/Ia80ltl6BfmWUG5y7uUh6f9O/pbZz8xhDO9x2e MQiA5aLZSlG+COxKUKu3t2cLDl59puqU7Mnr7nXZHNQQONBvxQf+rNSLLqN/JJL44k+C 418BarR7JPKUwHyOc3l5bKxUIzmf52isM5KpWtqmxpuTZOzoFmd5s7FKo/d1j2z1WBbK GlIs521VFAOkvSqtKYFhvO6gHgbhY8gUIRxv6y2GqIARNBYc8TVEo/E5muFDb3UR5uSe /TpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OZYa6F4s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68129-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g9-20020a170906348900b00a38a0206c0esi1364008ejb.633.2024.02.15.22.56.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:56:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68129-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=@kernel.org header.s=k20201202 header.b=OZYa6F4s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68129-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 30D711F22AA4 for ; Fri, 16 Feb 2024 06:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3ED51DA4D; Fri, 16 Feb 2024 06:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OZYa6F4s" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1E7EA1DA23 for ; Fri, 16 Feb 2024 06:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066460; cv=none; b=m+mIRxcNeDGRR0UbKeTHOQWX4WO+WBLqLkSo1x4EyUCtElW9fQ8V6FXhJDeKqMiMqU/mUdRmnZQtN4rMkdZSisCVeAOJSgVYmA/fu+cgfG0rhFTKCphXtZyFKXd1mDGEO9f4nidP7TMS1xb5OlCq9YppvNh8PlYVKZn8QzE4Y6o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066460; c=relaxed/simple; bh=BXImqGWAPuqO33Ld3ZnMdqeekf4kcUYdKg21p7D7eN8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SbdylYw+yG3Ac37YpaRJ/Bm7ekUA8NiNeJe7naT1gq1SZHE7IH7dzWeNONpUSgArd1etUwdhIQ+yx8l61dhvm8jKHY9IB7uGH7Uv73aXhlBqoLGF4HeBQhDOZ57p6UnBer6CeHQQFnUE9QMGtJgOYBa308YN99FJsRkNeprGAFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OZYa6F4s; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4DD1C433C7; Fri, 16 Feb 2024 06:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066459; bh=BXImqGWAPuqO33Ld3ZnMdqeekf4kcUYdKg21p7D7eN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OZYa6F4sJIbOHW1A/nf05Cx7UXrlVbKnctd7m6e53k5qk8qOzli1waB1ESFi+U2kM P2n7o+9xU4Ntq4h0Cenr6KVAOohzzzX7qwCJK+WI3IuxC5cSB34oywUqoOSyhRuvKb aLKc44lOuKkKl66wsvAS9WJ7J8ioRM2/cjBSJJ8LMfhqiRA/TRDj5nNHO28jkT6H4N t3wKvbTA+xDlpXRf3E/OfJ/TayYEbOW0ZTu/bJDW2ZbLWxajekbTh0wPJ1FJ+oP0ga lkSC+uUbjxdLM6E3hn5kJ68nOcZqtknkriN1Nv3taD8LPYcq7WmzzZO0msKpQG1zm/ 2VxP9q4/ufFlg== From: "Jiri Slaby (SUSE)" To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org Subject: [PATCH 15/21] drm/i915: remove gvt_mmio_block::device Date: Fri, 16 Feb 2024 07:53:20 +0100 Message-ID: <20240216065326.6910-16-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240216065326.6910-1-jirislaby@kernel.org> References: <20240216065326.6910-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit gvt_mmio_block::device is not used since commit e0f74ed4634d (i915/gvt: Separate the MMIO tracking table from GVT-g). Drop it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-gfx@lists.freedesktop.org --- drivers/gpu/drm/i915/gvt/gvt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index b8b8ffe4d566..2c95aeef4e41 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -253,7 +253,6 @@ struct intel_gvt_fence { /* Special MMIO blocks. */ struct gvt_mmio_block { - unsigned int device; i915_reg_t offset; unsigned int size; gvt_mmio_func read; -- 2.43.1