Skip to content

Commit

Permalink
staging/omapdrm: remove the unnecessary initialization of a local var…
Browse files Browse the repository at this point in the history
…iable in omap_crtc.c

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>
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 15, 2012
1 parent fdbf20b commit bd690de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/omapdrm/omap_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bd690de

Please sign in to comment.