From: Greg Kroah-Hartman Date: Sat, 15 Nov 2014 00:48:56 +0000 (-0800) Subject: Revert "char: misc: document behaviour of open()" X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1b6f47537c86494bb525c31e695ae3a1dfd953ca;p=deliverable%2Flinux.git Revert "char: misc: document behaviour of open()" This reverts commit 965ab29ba09d75056a6c9b0f707cd1c2cc91188f. This is causing way more problems than it is worth. Cc: Martin Kepplinger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 69a08a6b43aa..205ad4c58470 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -169,9 +169,7 @@ static const struct file_operations misc_fops = { * the minor number requested is used. * * The structure passed is linked into the kernel and may not be - * destroyed until it has been unregistered. By default, an open() - * syscall to the device sets file->private_data to point to the - * structure. + * destroyed until it has been unregistered. * * A zero is returned on success and a negative errno code for * failure.