diff options
author | Víctor Manuel Jáquez Leal | 2012-03-09 01:03:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-03-09 22:21:07 +0100 |
commit | b4aac487b0db55dcd8587908c129d9dade2bf3df (patch) | |
tree | 9425665bbe11d3aba6c97f2480740d4e7826c4e1 /drivers/staging/tidspbridge/include/dspbridge/io.h | |
parent | staging: tidspbridge: remove msg_mod_init() and msg_exit() (diff) | |
download | kernel-qcow2-linux-b4aac487b0db55dcd8587908c129d9dade2bf3df.tar.gz kernel-qcow2-linux-b4aac487b0db55dcd8587908c129d9dade2bf3df.tar.xz kernel-qcow2-linux-b4aac487b0db55dcd8587908c129d9dade2bf3df.zip |
staging: tidspbridge: remove io_init() and io_exit()
The io module has a io_init() and a io_exit() whose only purpose is to
keep a reference counting which is not used at all.
This patch removes these functions and the reference count variable.
There is no functional changes.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/io.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/io.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/io.h b/drivers/staging/tidspbridge/include/dspbridge/io.h index 500bbd71684d..750571856908 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/io.h +++ b/drivers/staging/tidspbridge/include/dspbridge/io.h @@ -55,7 +55,6 @@ struct io_attrs { * -EINVAL: Invalid DSP word size (must be > 0). * Invalid base address for DSP communications. * Requires: - * io_init(void) called. * io_man != NULL. * mgr_attrts != NULL. * Ensures: @@ -74,36 +73,8 @@ extern int io_create(struct io_mgr **io_man, * 0: Success. * -EFAULT: hio_mgr was invalid. * Requires: - * io_init(void) called. * Ensures: */ extern int io_destroy(struct io_mgr *hio_mgr); -/* - * ======== io_exit ======== - * Purpose: - * Discontinue usage of the IO module. - * Parameters: - * Returns: - * Requires: - * io_init(void) previously called. - * Ensures: - * Resources, if any acquired in io_init(void), are freed when the last - * client of IO calls io_exit(void). - */ -extern void io_exit(void); - -/* - * ======== io_init ======== - * Purpose: - * Initialize the IO module's private state. - * Parameters: - * Returns: - * TRUE if initialized; FALSE if error occurred. - * Requires: - * Ensures: - * A requirement for each of the other public CHNL functions. - */ -extern bool io_init(void); - #endif /* CHNL_ */ |