commit | 0caf5b261b6360cac9b320fe7c2f43ed162a3e61 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Tue Aug 02 13:49:00 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 16:05:16 2016 -0700 |
tree | 0fa870e1fe460d2cc41595b855549af4458cc5ba | |
parent | a052517a8ff654f5226cf47008ebc4f7936b8f13 [diff] |
qed: Use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>