kernel-ark/drivers/staging/tidspbridge/pmgr
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
..
chnl.c staging:ti dspbridge: remove DSP_FAILED macro from pmgr 2010-07-28 08:22:43 -07:00
chnlobj.h
cmm.c staging:ti dspbridge: remove DSP_FAILED macro from pmgr 2010-07-28 08:22:43 -07:00
cod.c staging:ti dspbridge: remove DSP_FAILED macro from pmgr 2010-07-28 08:22:43 -07:00
dbll.c staging:ti dspbridge: remove DSP_FAILED macro from pmgr 2010-07-28 08:22:43 -07:00
dev.c staging: tidspbridge: Remove cfg_get_dev_object() and do a trivial cleanup 2010-08-31 11:23:15 -07:00
dmm.c staging:ti dspbridge: remove DSP_FAILED macro from pmgr 2010-07-28 08:22:43 -07:00
dspapi.c staging: tidspbridge: Remove cfg_get_auto_start() 2010-08-31 11:23:14 -07:00
io.c staging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgr 2010-07-28 08:22:42 -07:00
ioobj.h
msg.c staging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgr 2010-07-28 08:22:42 -07:00
msgobj.h