diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2012-03-09 04:03:45 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-10 01:21:07 +0400 |
commit | b4aac487b0db55dcd8587908c129d9dade2bf3df (patch) | |
tree | 9425665bbe11d3aba6c97f2480740d4e7826c4e1 /drivers/staging/tidspbridge/pmgr/io.c | |
parent | 1471d6c69ff7843fb7149218d3afb4d5a2e4426c (diff) | |
download | linux-b4aac487b0db55dcd8587908c129d9dade2bf3df.tar.xz |
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/pmgr/io.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/io.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/io.c b/drivers/staging/tidspbridge/pmgr/io.c index a56b085deb4d..4073c9c672fd 100644 --- a/drivers/staging/tidspbridge/pmgr/io.c +++ b/drivers/staging/tidspbridge/pmgr/io.c @@ -30,9 +30,6 @@ #include <ioobj.h> #include <dspbridge/io.h> -/* ----------------------------------- Globals */ -static u32 refs; - /* * ======== io_create ======== * Purpose: @@ -94,28 +91,3 @@ int io_destroy(struct io_mgr *hio_mgr) return status; } - -/* - * ======== io_exit ======== - * Purpose: - * Discontinue usage of the IO module. - */ -void io_exit(void) -{ - refs--; -} - -/* - * ======== io_init ======== - * Purpose: - * Initialize the IO module's private state. - */ -bool io_init(void) -{ - bool ret = true; - - if (ret) - refs++; - - return ret; -} |