Skip to content

Commit

Permalink
[media] cx88: don't declare restart_video_queue if not used
Browse files Browse the repository at this point in the history
While compiled on alpha, got this error:
	drivers/media/pci/cx88/cx88-video.c:415:12: warning: 'restart_video_queue' defined but not used [-Wunused-function]

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
  • Loading branch information
Mauro Carvalho Chehab committed Jun 10, 2015
1 parent e42c8c6 commit bc5e66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/pci/cx88/cx88-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ static int stop_video_dma(struct cx8800_dev *dev)
cx_clear(MO_VID_INTMSK, 0x0f0011);
return 0;
}
#endif

static int restart_video_queue(struct cx8800_dev *dev,
struct cx88_dmaqueue *q)
Expand All @@ -426,6 +425,7 @@ static int restart_video_queue(struct cx8800_dev *dev,
}
return 0;
}
#endif

/* ------------------------------------------------------------------ */

Expand Down

0 comments on commit bc5e66b

Please sign in to comment.