staging/omapdrm: remove the unnecessary initialization of a local variable in omap_crtc.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Wed, 14 Nov 2012 10:30:08 +0000 (19:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:31:03 +0000 (16:31 -0800)
The following error fixed.
- ERROR: do not initialise statics to 0 or NULL

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_crtc.c

index 5249223290355cc5f93406ea62d0d5f4e241de14..cbda7e027338f358babd2814dbb380b5fe5592f3 100644 (file)
@@ -114,7 +114,7 @@ static void omap_crtc_load_lut(struct drm_crtc *crtc)
 
 static void vblank_cb(void *arg)
 {
-       static uint32_t sequence = 0;
+       static uint32_t sequence;
        struct drm_crtc *crtc = arg;
        struct drm_device *dev = crtc->dev;
        struct omap_crtc *omap_crtc = to_omap_crtc(crtc);