mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 22:04:47 +08:00
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: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a625a12a76
commit
70044df411
@ -307,7 +307,8 @@ int sun4d_request_irq(unsigned int irq,
|
|||||||
|
|
||||||
if (action) {
|
if (action) {
|
||||||
if ((action->flags & IRQF_SHARED) && (irqflags & IRQF_SHARED)) {
|
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 {
|
} else {
|
||||||
ret = -EBUSY;
|
ret = -EBUSY;
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
|
Loading…
Reference in New Issue
Block a user