summaryrefslogtreecommitdiffstats
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2014-09-14 16:58:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 16:04:52 -0700
commit82d95799d89b0cb3ad4c15c60e2c19862cb3a459 (patch)
treec070f8dbb2ad8820910a772ba96cec471abd66d7 /scripts/objdiff
parent0b06912b847ed495f41ee12a06fb8b017acc8e89 (diff)
downloadcachepc-linux-82d95799d89b0cb3ad4c15c60e2c19862cb3a459.tar.gz
cachepc-linux-82d95799d89b0cb3ad4c15c60e2c19862cb3a459.zip
staging: et131x: Simplify unlocking tcb_send_qlock in et131x_tx_timeout()
The tcb_send_qlock spinlock is unlocked in all three paths at the end of et131x_tx_timeout(). We can call it once before entering any of the paths, saving ourselves a few lines of code. This change puts tcb->count++ outside of the lock, but et131x_tx_timeout() itself is protected by the tx_global_lock, so this shouldn't matter. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions