Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d197e6921843932b5d8ecf47d23fcac62e73b19a
Commit:     d197e6921843932b5d8ecf47d23fcac62e73b19a
Parent:     71780f59e127bb281a9302d430495ca9586c14e7
Author:     Robert P. J. Day <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 11:24:07 2007 +0200
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 11:24:41 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 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 fce3dac..82e6a6b 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)
 
 static const struct file_operations vmcp_fops = {
        .owner          = THIS_MODULE,
-       .open           = &vmcp_open,
-       .release        = &vmcp_release,
-       .read           = &vmcp_read,
-       .llseek         = &no_llseek,
-       .write          = &vmcp_write,
-       .unlocked_ioctl = &vmcp_ioctl,
-       .compat_ioctl   = &vmcp_ioctl
+       .open           = vmcp_open,
+       .release        = vmcp_release,
+       .read           = vmcp_read,
+       .write          = vmcp_write,
+       .unlocked_ioctl = vmcp_ioctl,
+       .compat_ioctl   = vmcp_ioctl
 };
 
 static struct miscdevice vmcp_dev = {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to