From: YAMANE Toshiaki Date: Wed, 14 Nov 2012 10:30:08 +0000 (+0900) Subject: staging/omapdrm: remove the unnecessary initialization of a local variable in omap_crtc.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd690dece9467a0178ebe8db0ddaaefdc180f0dd;p=linux-beck.git 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: YAMANE Toshiaki Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c index 524922329035..cbda7e027338 100644 --- a/drivers/staging/omapdrm/omap_crtc.c +++ b/drivers/staging/omapdrm/omap_crtc.c @@ -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);