rx: MUTEX_* are no-ops when !RX_ENABLE_LOCKS
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 25 Oct 2012 10:57:22 +0000 (11:57 +0100)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 29 Oct 2012 16:45:36 +0000 (09:45 -0700)
commit4bc8d82d9a204b76fcf5208ded3a9a6ea917b734
tree0cbacce966eb25b4f0260d8bd2586cfa0bd4f7a2
parentf224849f29343cf634c732b1672b4e81373de872
rx: MUTEX_* are no-ops when !RX_ENABLE_LOCKS

Remove any occurences of
    # ifdef RX_ENABLE_LOCKS
    MUTEX_ENTER(&mutex)
    # endif

and similar for MUTEX_INIT, MUTEX_DESTROY and MUTEX_EXIT, as all of
these operations are no-ops when RX_ENABLE_LOCKS isn't defined.

Change-Id: Ic0f27b42d56ae4362ff095f1f08a06575c4ca2c1
Reviewed-on: http://gerrit.openafs.org/8293
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/rx/rx.c
src/rx/rx_multi.c