drm/i915/guc: Remove unused intel_guc_fw struct member
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 23 Nov 2016 10:20:21 +0000 (10:20 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 23 Nov 2016 14:22:48 +0000 (14:22 +0000)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1479896421-20611-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_guc.h
drivers/gpu/drm/i915/intel_guc_loader.c

index 0053258e03d3de8b526402c20a485f4c421e31bf..02337a81abc2b3b786c71de40f573b336f1f6a45 100644 (file)
@@ -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;
index 34d6ad2cf7c1db718ebb5c46b0b99580675e12a6..e2d0bdaee0c84aa55b20ebbfcc30213706ec22d7 100644 (file)
@@ -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;