1. 29 8月, 2010 1 次提交
    • A
      econet: kill unnecessary spin_lock_init() · 762c2916
      Akinobu Mita 提交于
      The spinlock aun_queue_lock is initialized statically. It is unnecessary
      to initialize by spin_lock_init() at module load time.
      
      This is detected by the semantic patch.
      
      // <smpl>
      @def@
      declarer name DEFINE_SPINLOCK;
      identifier spinlock;
      @@
      
      DEFINE_SPINLOCK(spinlock);
      
      @@
      identifier def.spinlock;
      @@
      
      - spin_lock_init(&spinlock);
      // </smpl>
      Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Cc: Julia Lawall <julia@diku.dk>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      762c2916
  2. 28 8月, 2010 1 次提交
  3. 27 8月, 2010 12 次提交
  4. 26 8月, 2010 22 次提交
  5. 25 8月, 2010 4 次提交