diff options
| author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-10 05:24:07 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-10 05:24:41 -0400 |
| commit | d197e6921843932b5d8ecf47d23fcac62e73b19a (patch) | |
| tree | fb9375461d20aa22fed2efdaf75978802c7ec413 | |
| parent | 71780f59e127bb281a9302d430495ca9586c14e7 (diff) | |
[S390] vmcp cleanup
No need to use the "&" prefix and, since you're calling nonseekable_open(),
there is no need to use no_llseek().
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| -rw-r--r-- | drivers/s390/char/vmcp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index fce3dac5cb3e..82e6a6b253eb 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c | |||
| @@ -175,13 +175,12 @@ static long vmcp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
| 175 | 175 | ||
| 176 | static const struct file_operations vmcp_fops = { | 176 | static const struct file_operations vmcp_fops = { |
| 177 | .owner = THIS_MODULE, | 177 | .owner = THIS_MODULE, |
| 178 | .open = &vmcp_open, | 178 | .open = vmcp_open, |
| 179 | .release = &vmcp_release, | 179 | .release = vmcp_release, |
| 180 | .read = &vmcp_read, | 180 | .read = vmcp_read, |
| 181 | .llseek = &no_llseek, | 181 | .write = vmcp_write, |
| 182 | .write = &vmcp_write, | 182 | .unlocked_ioctl = vmcp_ioctl, |
| 183 | .unlocked_ioctl = &vmcp_ioctl, | 183 | .compat_ioctl = vmcp_ioctl |
| 184 | .compat_ioctl = &vmcp_ioctl | ||
| 185 | }; | 184 | }; |
| 186 | 185 | ||
| 187 | static struct miscdevice vmcp_dev = { | 186 | static struct miscdevice vmcp_dev = { |
