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

Commit d3bcfefa authored by Thomas Gleixner's avatar Thomas Gleixner Committed by David S. Miller
Browse files

net: Replace old style lock initializer



SPIN_LOCK_UNLOCKED is deprecated. Use DEFINE_SPINLOCK instead.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b622d97a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static void send_dm_alert(struct work_struct *unused);
 * netlink alerts
 */
static int trace_state = TRACE_OFF;
static spinlock_t trace_state_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(trace_state_lock);

struct per_cpu_dm_data {
	struct work_struct dm_alert_work;