aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/locking/qspinlock_stat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/locking/qspinlock_stat.h b/kernel/locking/qspinlock_stat.h
index d734b7502001..72722334237a 100644
--- a/kernel/locking/qspinlock_stat.h
+++ b/kernel/locking/qspinlock_stat.h
@@ -191,8 +191,6 @@ static ssize_t qstat_write(struct file *file, const char __user *user_buf,
191 191
192 for (i = 0 ; i < qstat_num; i++) 192 for (i = 0 ; i < qstat_num; i++)
193 WRITE_ONCE(ptr[i], 0); 193 WRITE_ONCE(ptr[i], 0);
194 for (i = 0 ; i < qstat_num; i++)
195 WRITE_ONCE(ptr[i], 0);
196 } 194 }
197 return count; 195 return count;
198} 196}