From 1037b2787b6df12f31b7051f7cdbb289f7972ee7 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Mon, 13 Jul 2015 17:32:28 +0530 Subject: [PATCH] char: misc: fix error path Lets call remove_proc_entry() in the error path only if we have successfully created "misc" in procfs. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed