mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
drm: omapdrm: Remove unused parameter from omap_drm_irq handler
The only omap_drm_irq handler doesn't use the irqstatus parameter passed to the function. Remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
da06a922cf
commit
5d9f5b3339
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ struct omap_drm_irq {
|
||||||
struct list_head node;
|
struct list_head node;
|
||||||
uint32_t irqmask;
|
uint32_t irqmask;
|
||||||
bool registered;
|
bool registered;
|
||||||
void (*irq)(struct omap_drm_irq *irq, uint32_t irqstatus);
|
void (*irq)(struct omap_drm_irq *irq);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* For KMS code that needs to wait for a certain # of IRQs:
|
/* For KMS code that needs to wait for a certain # of IRQs:
|
||||||
|
|
|
@ -82,7 +82,7 @@ struct omap_irq_wait {
|
||||||
|
|
||||||
static DECLARE_WAIT_QUEUE_HEAD(wait_event);
|
static DECLARE_WAIT_QUEUE_HEAD(wait_event);
|
||||||
|
|
||||||
static void wait_irq(struct omap_drm_irq *irq, uint32_t irqstatus)
|
static void wait_irq(struct omap_drm_irq *irq)
|
||||||
{
|
{
|
||||||
struct omap_irq_wait *wait =
|
struct omap_irq_wait *wait =
|
||||||
container_of(irq, struct omap_irq_wait, irq);
|
container_of(irq, struct omap_irq_wait, irq);
|
||||||
|
@ -248,7 +248,7 @@ static irqreturn_t omap_irq_handler(int irq, void *arg)
|
||||||
list_for_each_entry_safe(handler, n, &priv->irq_list, node) {
|
list_for_each_entry_safe(handler, n, &priv->irq_list, node) {
|
||||||
if (handler->irqmask & irqstatus) {
|
if (handler->irqmask & irqstatus) {
|
||||||
spin_unlock_irqrestore(&list_lock, flags);
|
spin_unlock_irqrestore(&list_lock, flags);
|
||||||
handler->irq(handler, handler->irqmask & irqstatus);
|
handler->irq(handler);
|
||||||
spin_lock_irqsave(&list_lock, flags);
|
spin_lock_irqsave(&list_lock, flags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue