From patchwork Wed Nov 23 10:20:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 9442865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BF32A6075F for ; Wed, 23 Nov 2016 10:20:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88C4020649 for ; Wed, 23 Nov 2016 10:20:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 795DC23D5E; Wed, 23 Nov 2016 10:20:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8865820649 for ; Wed, 23 Nov 2016 10:20:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7E426E7D0; Wed, 23 Nov 2016 10:20:31 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wj0-x244.google.com (mail-wj0-x244.google.com [IPv6:2a00:1450:400c:c01::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 06EFD6E7CF for ; Wed, 23 Nov 2016 10:20:30 +0000 (UTC) Received: by mail-wj0-x244.google.com with SMTP id xy5so680060wjc.1 for ; Wed, 23 Nov 2016 02:20:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Z4ZrXVDv/HKUGBlHbUJIHSvQ6ouztkBjqHJ7tANOaDE=; b=rrFJf/FWajOVAjxTuPUa/+yffJwcO4IvcrI1vj0VdZ9I92OKlcUhiW81xc0M2BTzmV iI+QBqQ8itAX6ZeopS5pbhKed0uwNfMZYfxgNrAImGgKaNGwuHb/J9Y3Ji+w3rj8pLi4 9PyRScvk+piQnAWkz+F6T/+u9vdKFoTe2TwTTFZwb9xDYkceYQF048o0JXfvic0ZU7tO LbfA1MXGxyBfUyPZUqDgaj6k/vQPjUChWMGooIRTvX6CrNWPVCdCjQHzeZkqXkah8rWq UPvZ58MPWGPVRhZOA/cTRNaCjF4BkrcWuK95wcb+y1ocuifqow+KD1osXylNrYCKYSMO 2EMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Z4ZrXVDv/HKUGBlHbUJIHSvQ6ouztkBjqHJ7tANOaDE=; b=Pah71tfNUJqmS1a9gXXMwu70SUSSDqmqQ0QopU1tDbdbyEf8f66iTnS4RB69Fk+e7O TXJJVd1+mtDfV3TV+REN7bej7VIDQiwdc2cfxYJIJ3ax36EDMFMvpkVNRwkAbHDBkRFx JTe/iumcEBgEYKpg1LHIrB6Ok6jh0e66a0lmbrZMrrYtrhy5RPZJz8SsuM8UlOW0BcZr VvypWA7r835t/aUnpb0z76IVdGjLI//tII531jmzOUC3NJBMiJaGrbH8ty/1ZZkcxyUq JF6p9MUcckdy/rLVjDwyzjE5/M4A9xgKSle0TfVwD5pkZOtOuZ185mlhDMAyo9sV6ODM twjw== X-Gm-Message-State: AKaTC00hPMIf4TsUlu1kt4B6Gu6BFb4uhalXp2HTe3x3b3JBSo0fxMJyK5PpeCwKt05Feg== X-Received: by 10.194.106.41 with SMTP id gr9mr2974384wjb.202.1479896428441; Wed, 23 Nov 2016 02:20:28 -0800 (PST) Received: from t460p.intel ([2a02:c7d:9bd6:b000:f37e:1e07:a7d8:46cd]) by smtp.gmail.com with ESMTPSA id xu5sm35475188wjc.49.2016.11.23.02.20.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2016 02:20:28 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 23 Nov 2016 10:20:21 +0000 Message-Id: <1479896421-20611-1-git-send-email-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.7.4 Subject: [Intel-gfx] [PATCH] drm/i915/guc: Remove unused intel_guc_fw struct member X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/intel_guc.h | 1 - drivers/gpu/drm/i915/intel_guc_loader.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_guc.h b/drivers/gpu/drm/i915/intel_guc.h index 0053258e03d3..02337a81abc2 100644 --- a/drivers/gpu/drm/i915/intel_guc.h +++ b/drivers/gpu/drm/i915/intel_guc.h @@ -103,7 +103,6 @@ enum intel_guc_fw_status { * of fetching, caching, and loading the firmware image into the GuC. */ struct intel_guc_fw { - struct drm_device * guc_dev; const char * guc_fw_path; size_t guc_fw_size; struct drm_i915_gem_object * guc_fw_obj; diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c index 34d6ad2cf7c1..e2d0bdaee0c8 100644 --- a/drivers/gpu/drm/i915/intel_guc_loader.c +++ b/drivers/gpu/drm/i915/intel_guc_loader.c @@ -754,7 +754,6 @@ void intel_guc_init(struct drm_device *dev) fw_path = ""; /* unknown device */ } - guc_fw->guc_dev = dev; guc_fw->guc_fw_path = fw_path; guc_fw->guc_fw_fetch_status = GUC_FIRMWARE_NONE; guc_fw->guc_fw_load_status = GUC_FIRMWARE_NONE;