projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54cbb1c
)
drivers/net/caif: Remove unnecessary casts of private_data
author
Joe Perches
<joe@perches.com>
Mon, 12 Jul 2010 10:50:05 +0000
(10:50 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Jul 2010 04:13:35 +0000
(21:13 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/caif/caif_spi.c
b/drivers/net/caif/caif_spi.c
index 03049e86e8ae886fd65589f68831d79dacafc614..6c948037fc78af607eb64c0a40fae04d60cd5d78 100644
(file)
--- a/
drivers/net/caif/caif_spi.c
+++ b/
drivers/net/caif/caif_spi.c
@@
-134,7
+134,7
@@
static ssize_t dbgfs_state(struct file *file, char __user *user_buf,
char *buf;
int len = 0;
ssize_t size;
- struct cfspi *cfspi =
(struct cfspi *)
file->private_data;
+ struct cfspi *cfspi = file->private_data;
buf = kzalloc(DEBUGFS_BUF_SIZE, GFP_KERNEL);
if (!buf)
@@
-205,7
+205,7
@@
static ssize_t dbgfs_frame(struct file *file, char __user *user_buf,
ssize_t size;
struct cfspi *cfspi;
- cfspi =
(struct cfspi *)
file->private_data;
+ cfspi = file->private_data;
buf = kzalloc(DEBUGFS_BUF_SIZE, GFP_KERNEL);
if (!buf)
return 0;