summaryrefslogtreecommitdiff
path: root/drivers/power/rx51_battery.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2013-08-11 12:44:02 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-22 13:31:38 +0200
commitea04cb31d506ac3f4fc3cefb1c50eb4f35ab37fd (patch)
tree19f7623a4694c0794e6905d37751537dba3f5497 /drivers/power/rx51_battery.c
parentf2f4d82faf85d2e53a2ba00a831a9f7f80b7e6e7 (diff)
drm/i915: drop unnecessary local variable to suppress build warning
Although I could not reproduce this (different compiler version, perhaps), reportedly we get: drivers/gpu/drm/i915/i915_irq.c:1943:27: warning: ‘score’ may be used uninitialized in this function [-Wuninitialized] Drop the 'score' variable altogether as it's not really needed. Reported-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/power/rx51_battery.c')
0 files changed, 0 insertions, 0 deletions