]> Pileus Git - ~andy/linux/commit
drm/i915: make sparse happy for the new vlv mmio read function
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Nov 2013 19:52:23 +0000 (20:52 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Nov 2013 07:31:48 +0000 (08:31 +0100)
commit5bc0e85cc6207650535e579b0995aa9574a8ecba
treef53a29b7c7c498e966014bcabd7550ce6c56162e
parent084054fc05c7798ff7cf61e25c246f222f41db5b
drm/i915: make sparse happy for the new vlv mmio read function

It doesn't like that we assign 0 to a pointer, it wants the real NULL.

On closer look that initialization is actually bogus, and the compiler
can easily see that we never use it unitialized. So let's just drop
this.

Cc: Deepak S <deepak.s@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c