From patchwork Fri Feb 16 06:53:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 201955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338847dyb; Thu, 15 Feb 2024 22:56:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUvWw2kl9m1jlZ1+paQiagXJEPM6kCgU1u7tNo6zSLcunS9usoJIvjLD948EvgZMVgas5nFQccHkPT8+mB0vPHpu+FsDg== X-Google-Smtp-Source: AGHT+IERXLU3xlEUfknpvEbeOCIW+s0HswLEu1o0E6hpAb5IpOWoTmeZe3F5M6EvV3iWblfUBOFA X-Received: by 2002:a05:6512:200d:b0:512:8a57:d0b5 with SMTP id a13-20020a056512200d00b005128a57d0b5mr2226868lfb.16.1708066607247; Thu, 15 Feb 2024 22:56:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066607; cv=pass; d=google.com; s=arc-20160816; b=yLcGGKtmzu+P8jglCruLaiDCSbxDM15dQ6YVxKkrPfy6/ys/AQ8wYix1dTvBzGmgW9 gI4D7sOk4RWQ/IWc8cckdjHYUYuNDhR8+0hqFCp8EXs6nSuFLGdlIMDnRyj/noRJw76N cx7Mc8PetPIZmLmdotJqEO0BEGUnlcLd7sxHGN5os9x/zeA24IAnyAv4x6nQ8oVpNCuG KGJuu4dSvOizaSg2bZgvZIZSULsPJZ+izqj9NJB11nJQhhpbFsu/E3KzlXsAGKssxCbd 1KnQuC/qoNL81uEHVb02+6E+cUNc2oZe/PogQymmfhS0eTobQSxISn7VfmJHP/RDQraV e0KQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68129-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s17-20020a056402521100b0056389d2d63bsi1416384edd.30.2024.02.15.22.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:56:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68129-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68129-ouuuleilei=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 D14531F20F94 for ; Fri, 16 Feb 2024 06:56:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A42B01DFFA; Fri, 16 Feb 2024 06:54:22 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791037651014385981 X-GMAIL-MSGID: 1791037651014385981 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;