commit | 9c2367538de381435503425c22c4f192c72e282e | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Thu May 07 18:38:41 2015 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri May 29 10:15:23 2015 +0200 |
tree | 9ec28dc0133a53730c10df96f3b22d80ca86a772 | |
parent | 318bd821d65d37fb12c5673607e2b013f7a86a01 [diff] |
drm/i915/skl: Use a more idomatic early return We can coalesce the WARN() condition with the WARN() itself and, as we are returning early, we can de-intent the rest of the function. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>