From 1f2cd527e2b206d915aaae62a0ff9dbf3b29ff8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 9 Mar 2012 01:03:36 +0100 Subject: staging: tidspbridge: remove drv_init() and drv_exit() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The drv module has a drv_init() and a drv_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 Signed-off-by: Greg Kroah-Hartman --- .../staging/tidspbridge/include/dspbridge/drv.h | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'drivers/staging/tidspbridge/include') diff --git a/drivers/staging/tidspbridge/include/dspbridge/drv.h b/drivers/staging/tidspbridge/include/dspbridge/drv.h index 9cdbd955dce..b0c7708321b 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/drv.h +++ b/drivers/staging/tidspbridge/include/dspbridge/drv.h @@ -198,17 +198,6 @@ extern int drv_create(struct drv_object **drv_obj); */ extern int drv_destroy(struct drv_object *driver_obj); -/* - * ======== drv_exit ======== - * Purpose: - * Exit the DRV module, freeing any modules initialized in drv_init. - * Parameters: - * Returns: - * Requires: - * Ensures: - */ -extern void drv_exit(void); - /* * ======== drv_get_first_dev_object ======== * Purpose: @@ -293,18 +282,6 @@ extern u32 drv_get_next_dev_object(u32 hdev_obj); */ extern u32 drv_get_next_dev_extension(u32 dev_extension); -/* - * ======== drv_init ======== - * Purpose: - * Initialize the DRV module. - * Parameters: - * Returns: - * TRUE if success; FALSE otherwise. - * Requires: - * Ensures: - */ -extern int drv_init(void); - /* * ======== drv_insert_dev_object ======== * Purpose: -- cgit v1.2.3