Commit d471c0fc authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: audio driver formatting

Whitespace and style fixes.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b612e475
......@@ -91,7 +91,7 @@ static ssize_t hostaudio_read(struct file *file, char __user *buffer,
if(copy_to_user(buffer, kbuf, err))
err = -EFAULT;
out:
out:
kfree(kbuf);
return(err);
}
......@@ -202,7 +202,6 @@ static int hostaudio_open(struct inode *inode, struct file *file)
kfree(state);
return(ret);
}
state->fd = ret;
file->private_data = state;
return(0);
......@@ -215,7 +214,6 @@ static int hostaudio_release(struct inode *inode, struct file *file)
#ifdef DEBUG
printk("hostaudio: release called\n");
#endif
os_close_file(state->fd);
kfree(state);
......@@ -279,7 +277,6 @@ static int hostmixer_release(struct inode *inode, struct file *file)
return(0);
}
/* kernel module operations */
static const struct file_operations hostaudio_fops = {
......@@ -341,14 +338,3 @@ static void __exit hostaudio_cleanup_module (void)
module_init(hostaudio_init_module);
module_exit(hostaudio_cleanup_module);
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment