Commit bd690dec authored by YAMANE Toshiaki's avatar YAMANE Toshiaki Committed by Greg Kroah-Hartman

staging/omapdrm: remove the unnecessary initialization of a local variable in omap_crtc.c

The following error fixed.
- ERROR: do not initialise statics to 0 or NULL
Signed-off-by: default avatarYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fdbf20b3
...@@ -114,7 +114,7 @@ static void omap_crtc_load_lut(struct drm_crtc *crtc) ...@@ -114,7 +114,7 @@ static void omap_crtc_load_lut(struct drm_crtc *crtc)
static void vblank_cb(void *arg) static void vblank_cb(void *arg)
{ {
static uint32_t sequence = 0; static uint32_t sequence;
struct drm_crtc *crtc = arg; struct drm_crtc *crtc = arg;
struct drm_device *dev = crtc->dev; struct drm_device *dev = crtc->dev;
struct omap_crtc *omap_crtc = to_omap_crtc(crtc); struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment