aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMark Asselstine <[email protected]>2008-05-14 23:25:33 -0700
committerDavid S. Miller <[email protected]>2008-05-14 23:25:33 -0700
commita9dd7fe28742c6b22eb8f214a04c4d2bcb2c0899 (patch)
tree94addd5bd6fa29f29f5501c33f3d4c9ba203d936 /net/lapb/lapb_iface.c
parenta1a61a435b3cc157830b7d42b175151ae5eabdd3 (diff)
hysdn: Remove cli()/sti() calls.
The use of cli()/sti() within the do/while was a way to ensure interrupts were only disabled for short periods of time while the bulk of the time interrupts were free to occur. The use of the spin lock has eliminated the need to play with interrupts in this way while still allowing for IO to be protected. The remaining 3 sti() calls seem unneeded now that at no other point in the driver is there a call to cli(). Signed-off-by: Mark Asselstine <[email protected]> Acked-by: Karsten Keil <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions