drm: Remove now pointelss blob->data casts
Now that blob->data is void* again we don't need the casts anymore. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180223192506.29992-2-ville.syrjala@linux.intel.com Reviewed-by: Shashank Sharma <shashank.sharma@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@ -391,8 +391,7 @@ int drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state,
|
||||
if (blob) {
|
||||
if (blob->length != sizeof(struct drm_mode_modeinfo) ||
|
||||
drm_mode_convert_umode(state->crtc->dev, &state->mode,
|
||||
(const struct drm_mode_modeinfo *)
|
||||
blob->data))
|
||||
blob->data))
|
||||
return -EINVAL;
|
||||
|
||||
state->mode_blob = drm_property_blob_get(blob);
|
||||
|
Reference in New Issue
Block a user