projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fa3cb
)
drivers/sbus: Remove unnecessary casts of private_data
author
Joe Perches
<
[email protected]
>
Tue, 13 Jul 2010 04:16:04 +0000
(21:16 -0700)
committer
David S. Miller
<
[email protected]
>
Tue, 13 Jul 2010 04:16:04 +0000
(21:16 -0700)
Signed-off-by: Joe Perches <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/sbus/char/openprom.c
patch
|
blob
|
history
diff --git
a/drivers/sbus/char/openprom.c
b/drivers/sbus/char/openprom.c
index d53e62ab09da46866e808affd0d1af11d16a3c18..aacbe14e2e7aa76c0180a4e269ec23aa04aae5a8 100644
(file)
--- a/
drivers/sbus/char/openprom.c
+++ b/
drivers/sbus/char/openprom.c
@@
-554,7
+554,7
@@
static int opiocgetnext(unsigned int cmd, void __user *argp)
static int openprom_bsd_ioctl(struct file * file,
unsigned int cmd, unsigned long arg)
{
- DATA *data =
(DATA *)
file->private_data;
+ DATA *data = file->private_data;
void __user *argp = (void __user *)arg;
int err;
@@
-601,7
+601,7
@@
static int openprom_bsd_ioctl(struct file * file,
static long openprom_ioctl(struct file * file,
unsigned int cmd, unsigned long arg)
{
- DATA *data =
(DATA *)
file->private_data;
+ DATA *data = file->private_data;
switch (cmd) {
case OPROMGETOPT: