e8184e6c2d
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> |
||
---|---|---|
.. | ||
chnl.c | ||
chnlobj.h | ||
cmm.c | ||
cod.c | ||
dbll.c | ||
dev.c | ||
dmm.c | ||
dspapi.c | ||
io.c | ||
ioobj.h | ||
msg.c | ||
msgobj.h |