mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-18 05:04:04 +00:00
drm/edid: drop extra local var
We don't need override as a variable for anything. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/4d249173b34758e1d6c4a74eb98518d180f0a8ae.1649685475.git.jani.nikula@intel.com
This commit is contained in:
parent
d3da3f4072
commit
b3eb97b66d
1 changed files with 4 additions and 4 deletions
|
@ -2102,11 +2102,11 @@ struct edid *drm_do_get_edid(struct drm_connector *connector,
|
|||
{
|
||||
enum edid_block_status status;
|
||||
int j, invalid_blocks = 0;
|
||||
struct edid *edid, *new, *override;
|
||||
struct edid *edid, *new;
|
||||
|
||||
override = drm_get_override_edid(connector);
|
||||
if (override)
|
||||
return override;
|
||||
edid = drm_get_override_edid(connector);
|
||||
if (edid)
|
||||
return edid;
|
||||
|
||||
edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
|
||||
if (!edid)
|
||||
|
|
Loading…
Add table
Reference in a new issue