]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tg3: Remove unnecessary lock around tg3_flag_set
authorNithin Sujir <nsujir@broadcom.com>
Thu, 23 May 2013 11:11:27 +0000 (11:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 May 2013 05:23:30 +0000 (22:23 -0700)
commitf2068b80ca59d63ca21ee1da829c9fe09f25b08e
tree2f643fc00a07c7351dc67ab535774db947f41cd5
parent7c10ee32f32644c9efbb3cfebf5fb7cea4b48a2c
tg3: Remove unnecessary lock around tg3_flag_set

The spinlock was needed when flags used to be a u32 and set/cleared
using bit operations. Now that we use the atomic set_bit, this lock
isn't needed.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c