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

Commit ef79f8e1 authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: remove unused mask field from struct irqaction.



Up until 1.1.83, the primitive human tribes used struct sigaction for
interrupts.  The sa_mask field was overloaded to hold a pointer to the
name.

When someone created the new "struct irqaction" they carried across
the "mask" field as a kind of ancestor worship: the fact that it was
unused makes clear its spiritual significance.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 1d1afc19
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
struct irqaction {
	irq_handler_t handler;
	unsigned long flags;
	cpumask_t mask;
	const char *name;
	void *dev_id;
	struct irqaction *next;