drm/i915: Clean up intel_get_dram_info() a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Mar 2019 20:35:49 +0000 (22:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Mar 2019 21:20:46 +0000 (23:20 +0200)
commit30a533e5774b726621fffdb910d5ae5830f509cc
tree608829a809d8b5ce884543be56aa8971c72c053b
parent1d55967dc1cfb50906422f8068e8332ba3821bc7
drm/i915: Clean up intel_get_dram_info() a bit

Remove the pointless zero initialization of bunch of things
(the thing is kzalloc()ed).

Also throw out the mostly useless on-stack string. I think
it'll be clear enough from the logs that 0 means unknown.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190306203551.24592-11-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_drv.c