Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70044df4 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

sparc32, sun4d: add comment in empty statement in sun4d_request_irq()



This looked like a bug to me.
Add a comment so next reader is hopefully less confused.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a625a12a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -307,7 +307,8 @@ int sun4d_request_irq(unsigned int irq,

	if (action) {
		if ((action->flags & IRQF_SHARED) && (irqflags & IRQF_SHARED)) {
			for (tmp = action; tmp->next; tmp = tmp->next);
			for (tmp = action; tmp->next; tmp = tmp->next)
				/* find last entry - tmp used below */;
		} else {
			ret = -EBUSY;
			goto out_unlock;