diff options
author | Ivan Gomez Castellanos <ivan.gomez@ti.com> | 2010-08-25 17:08:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-31 11:23:14 -0700 |
commit | 4a6595625c1688077047e508370cf5146d59f359 (patch) | |
tree | 513ba63c9b17ae514147151ce063351b81a71a55 /drivers/staging/tidspbridge/services | |
parent | 27e7f23f64090ad2738e791d3693ef6e70c20327 (diff) |
staging: tidspbridge: Remove cfg_get_auto_start()
As the services directory is going to be removed, this patch is needed.
The function cfg_get_auto_start() only assigns a value to the flag
tmp, and it is only called by the function api_init_complete2(). So
the function cfg_get_auto_start() is not required.
Signed-off-by: Ivan Gomez Castellanos <ivan.gomez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/services')
-rw-r--r-- | drivers/staging/tidspbridge/services/cfg.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/tidspbridge/services/cfg.c b/drivers/staging/tidspbridge/services/cfg.c index a7af74f482dd..e9cdbf6d36b1 100644 --- a/drivers/staging/tidspbridge/services/cfg.c +++ b/drivers/staging/tidspbridge/services/cfg.c @@ -46,32 +46,6 @@ void cfg_exit(void) } /* - * ======== cfg_get_auto_start ======== - * Purpose: - * Retreive the autostart mask, if any, for this board. - */ -int cfg_get_auto_start(struct cfg_devnode *dev_node_obj, - u32 *auto_start) -{ - int status = 0; - u32 dw_buf_size; - struct drv_data *drv_datap = dev_get_drvdata(bridge); - - dw_buf_size = sizeof(*auto_start); - if (!dev_node_obj) - status = -EFAULT; - if (!auto_start || !drv_datap) - status = -EFAULT; - if (!status) - *auto_start = (drv_datap->base_img) ? 1 : 0; - - DBC_ENSURE((status == 0 && - (*auto_start == 0 || *auto_start == 1)) - || status != 0); - return status; -} - -/* * ======== cfg_get_dev_object ======== * Purpose: * Retrieve the Device Object handle for a given devnode. |