]> git.proxmox.com Git - mirror_spl.git/commit - module/spl/spl-taskq.c
taskq style, remove #define wrappers
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 6 Dec 2012 21:04:27 +0000 (13:04 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Dec 2012 17:54:07 +0000 (09:54 -0800)
commitaed8671cb0bfc18f6cd034ecad2e9cf49536d965
treeeb1c8793c091418bbf777dedebded437ffb1923a
parent472a34caff3bc8b0f65e7cdb4b5960b0e2d616c2
taskq style, remove #define wrappers

When the taskq implementation was originally written I wrapped all
the API functions in #define's.  This was done as a preventative
measure to ensure that a taskq symbol never conflicted with an
existing kernel symbol.

However, in practice the taskq symbols never conflicted.  The only
major conflicts occured with the kmem cache API.  Since this added
layer of obfuscation never bought us anything for the taskq's I'm
removing it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/taskq.h
module/spl/spl-taskq.c