mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
staging: netlogic: Fix multiple irq assignments in a single line
Avoid the use of multiple assignments in a single line. Checkpatch found this issue. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8cce78a73f
commit
76ee538178
@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
|
||||
|
||||
res++;
|
||||
res->name = "gmac";
|
||||
res->start = res->end = irq;
|
||||
res->start = irq;
|
||||
res->end = irq;
|
||||
res->flags = IORESOURCE_IRQ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user