linux/drivers/staging/tidspbridge
Ivan Gomez Castellanos e8184e6c2d staging: tidspbridge: Remove cfg_get_dev_object() and do a trivial cleanup
The cfg_get_dev_object function is only used in one place and because of
its simplicity, it can be removed.

The parameter *value can be left uninitialized if the strcmp() returns a
nonzero value, so in the function dev_remove_device(), the hdev_obj could
be used uninitialized and could be dereferenced in dev_destroy_device().
This patch fixes this issue, and also removes the dev_obj pointer which
is not used.

Signed-off-by: Ivan Gomez Castellanos <ivan.gomez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-31 11:23:15 -07:00
..
core staging: tidspbridge: Remove ntfy.c 2010-08-31 11:23:14 -07:00
Documentation staging: ti dspbridge: remove contributor leftovers 2010-07-08 13:31:45 -07:00
dynload staging:ti dspbridge: remove unnecessary volatile variables 2010-07-28 08:22:04 -07:00
gen drivers: staging: tidspbridge: gen: gb.c: Removed duplicated #include 2010-08-31 11:22:18 -07:00
hw staging: tidspbridge: remove GlobalTypes.h 2010-07-22 14:41:03 -07:00
include/dspbridge staging: tidspbridge: Remove cfg_get_dev_object() and do a trivial cleanup 2010-08-31 11:23:15 -07:00
pmgr staging: tidspbridge: Remove cfg_get_dev_object() and do a trivial cleanup 2010-08-31 11:23:15 -07:00
rmgr staging: ti dspbridge: use stream id instead of kernel address 2010-08-02 17:11:03 -07:00
services staging: tidspbridge: Remove cfg_get_dev_object() and do a trivial cleanup 2010-08-31 11:23:15 -07:00
Kconfig staging: ti dspbridge: add _BACKTRACE config 2010-07-08 13:34:54 -07:00
Makefile staging: tidspbridge: Remove ntfy.c 2010-08-31 11:23:14 -07:00
TODO staging: ti dspbridge: add TODO file 2010-06-23 15:39:08 -07:00