]> Git Repo - linux.git/commit
drm/i915: fix simple_return.cocci warnings
authorkbuild test robot <[email protected]>
Fri, 27 Mar 2015 11:26:35 +0000 (19:26 +0800)
committerDaniel Vetter <[email protected]>
Fri, 27 Mar 2015 13:49:03 +0000 (14:49 +0100)
commit2f2cf68261acc4c5356dd07e8a8966612ae5a0d4
treec5a3451c1609fae84d7a0560f25d4a0efe3c8240
parent5bedeb2de2127b3b80b40d977a17fe4fce83fe25
drm/i915: fix simple_return.cocci warnings

drivers/gpu/drm/i915/i915_gem_gtt.c:1349:1-4: WARNING: end returns can be simpified and declaration on line 1347 can be dropped

 Simplify a trivial if-return sequence.  Possibly combine with a
 preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci

CC: Michel Thierry <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_gem_gtt.c
This page took 0.053685 seconds and 4 git commands to generate.