diff options
Diffstat (limited to 'drivers/remoteproc/remoteproc_debugfs.c')
-rw-r--r-- | drivers/remoteproc/remoteproc_debugfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index 157a57309601..9d30809bb407 100644 --- a/drivers/remoteproc/remoteproc_debugfs.c +++ b/drivers/remoteproc/remoteproc_debugfs.c | |||
@@ -248,6 +248,5 @@ void __init rproc_init_debugfs(void) | |||
248 | 248 | ||
249 | void __exit rproc_exit_debugfs(void) | 249 | void __exit rproc_exit_debugfs(void) |
250 | { | 250 | { |
251 | if (rproc_dbg) | 251 | debugfs_remove(rproc_dbg); |
252 | debugfs_remove(rproc_dbg); | ||
253 | } | 252 | } |