Skip to contentSkip to conversation

coredump: remove outdated comment

PATCH New Jakub Wilk 1 participant 1 message Mar 18, 2019 VFS

lore
Share & tools
lore

Jakub Wilk

author
#0 lore raw

PATCH 1/1 coredump: remove outdated comment

The format_corename() function was heavily refactored in 1b0d300bd0f047e2edaf9d4b6784189e6c67c3d1, but the comment wasn't updated. The new function doesn't do anything non-obvious, so let's remove the comment alogether.

---
 fs/coredump.c | 4 ----
 1 file changed, 4 deletions(-)
fs/coredump.c +0 -4
index e42e17e55bfd..b9ff3fcba1ff 100644
@@ -183,10 +183,6 @@ static int cn_print_exe_file(struct core_name *cn)
 	return ret;
 }
 
-/* format_corename will inspect the pattern parameter, and output a
- * name into corename, which must have space for at least
- * CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
- */
 static int format_corename(struct core_name *cn, struct coredump_params *cprm)
 {
 	const struct cred *cred = current_cred();
Signature · 1 line
2.20.1