From: Daniel Vetter Date: Mon, 4 Feb 2019 10:31:13 +0000 (+0100) Subject: staging/vboxvideo: don't set dev_priv_size = 0 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b49faf922ecd9b29667c558db5499a92521744bf;p=openwrt%2Fstaging%2Fblogic.git staging/vboxvideo: don't set dev_priv_size = 0 The compiler already clears this for us. More important, someone might look what this is actually used for, and freak out about the dragon staring back at them. Reviewed-by: Sam Ravnborg Acked-by: Greg Kroah-Hartman Signed-off-by: Daniel Vetter Cc: Greg Kroah-Hartman Cc: Hans de Goede Cc: Daniel Vetter Cc: Nicholas Mc Guire Cc: Emil Velikov Cc: Fabio Rafael da Rosa Link: https://patchwork.freedesktop.org/patch/msgid/20190204103114.30772-1-daniel.vetter@ffwll.ch --- diff --git a/drivers/staging/vboxvideo/vbox_drv.c b/drivers/staging/vboxvideo/vbox_drv.c index b0d73d5fba5d..43c3d0a4fa1a 100644 --- a/drivers/staging/vboxvideo/vbox_drv.c +++ b/drivers/staging/vboxvideo/vbox_drv.c @@ -222,7 +222,6 @@ static void vbox_master_drop(struct drm_device *dev, struct drm_file *file_priv) static struct drm_driver driver = { .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, - .dev_priv_size = 0, .lastclose = drm_fb_helper_lastclose, .master_set = vbox_master_set,