Skip to content

Commit

Permalink
drivers/sbus: Remove unnecessary casts of private_data
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
JoePerches authored and davem330 committed Jul 13, 2010
1 parent f5fa3cb commit 33cfe65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sbus/char/openprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 33cfe65

Please sign in to comment.