forked from luck/tmp_suning_uos_patched
remoteproc: debug: Remove unneeded NULL check
debugfs_remove_recursive will do NULL check, so remove the redundant null check Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
006d72da28
commit
0ad82e3a22
|
@ -333,9 +333,6 @@ struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc,
|
|||
|
||||
void rproc_delete_debug_dir(struct rproc *rproc)
|
||||
{
|
||||
if (!rproc->dbg_dir)
|
||||
return;
|
||||
|
||||
debugfs_remove_recursive(rproc->dbg_dir);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user