]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dmc: remove redundant return in parse_csr_fw()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 7 Jun 2019 09:12:29 +0000 (02:12 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 17 Jun 2019 19:32:33 +0000 (12:32 -0700)
commit8132b8d182e3e3c20bb1ba99be0434c43c462286
tree3f140706936b9c20e6a3ac21f65566057e354188
parent0703a53b818caa57b428d1ba59839b2dbccf5ce8
drm/i915/dmc: remove redundant return in parse_csr_fw()

parse_csr_fw() is responsible to set up several fields in struct intel_csr,
including the payload. We don't need to assign it again.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607091230.1489-9-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_csr.c