summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-07-16 17:42:00 +0200
committerIngo Molnar <mingo@elte.hu>2011-07-21 09:36:09 +0200
commit4582c0a4866ea70c35aa9279e1f91834d3348a93 (patch)
treee180e664a88a996512a98a69098ef59f92e18c0a /crypto
parent732375c6a5a4cc825b676c922d547aba96b8ce15 (diff)
downloadblackbird-op-linux-4582c0a4866ea70c35aa9279e1f91834d3348a93.tar.gz
blackbird-op-linux-4582c0a4866ea70c35aa9279e1f91834d3348a93.zip
mutex: Make mutex_destroy() an inline function
The non-debug variant of mutex_destroy is a no-op, currently implemented as a macro which does nothing. This approach fails to check the type of the parameter, so an error would only show when debugging gets enabled. Using an inline function instead, offers type checking for earlier bug catching. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20110716174200.41002352@endymion.delvare Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud