aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorIvan Gomez Castellanos <ivan.gomez@ti.com>2010-08-25 17:08:58 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-31 11:23:15 -0700
commite8184e6c2d32eb4418f6084155ac1ffb08c751e8 (patch)
treeb22a075c9f18ca95684161cc4bf049eb76cdf722 /include/linux/debugobjects.h
parentstaging: tidspbridge: Remove cfg_init() and cfg_exit() (diff)
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions