]> git.ipfire.org Git - people/ms/linux.git/commitdiff
Revert "char: misc: document behaviour of open()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Nov 2014 00:48:56 +0000 (16:48 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Nov 2014 00:48:56 +0000 (16:48 -0800)
This reverts commit 965ab29ba09d75056a6c9b0f707cd1c2cc91188f.

This is causing way more problems than it is worth.

Cc: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c

index 69a08a6b43aae2c16499bb6de2cafb8f1790c6d9..205ad4c584708257578d519e895b6be3a52bbe89 100644 (file)
@@ -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.