diff --git a/drivers/gpu/drm/apple/parser.c b/drivers/gpu/drm/apple/parser.c index 3e3fc0b9425d..93c7f500c182 100644 --- a/drivers/gpu/drm/apple/parser.c +++ b/drivers/gpu/drm/apple/parser.c @@ -423,10 +423,6 @@ int parse_display_attributes(struct dcp_parse_ctx *handle, return ret; } - /* Check semantics (don't feed the DRM core garbage) */ - if (width_cm <= 0 || height_cm <= 0) - return -EINVAL; - /* 1cm = 10mm */ *width_mm = 10 * width_cm; *height_mm = 10 * height_cm;