commit | f3417d703f18b2bfe180e28cd65f44b540546d29 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Dec 10 14:23:49 2019 +0000 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Dec 11 18:19:28 2019 +0200 |
tree | 72a53a0f137c0c0ef3931ced1c005a0f53a26956 | |
parent | 7b0bcead187fb3afb45fd052316f9eb967ef1986 [diff] |
drm/i915: remove redundant checks for a null fb pointer A prior check and return when pointer fb is null makes subsequent null checks on fb redundant. Remove the redundant null checks. Addresses-Coverity: ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191210142349.333171-1-colin.king@canonical.com