Skip to content

Commit

Permalink
drivers/sbus/char: removes unnecessary semicolon
Browse files Browse the repository at this point in the history
removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
petersenna authored and davem330 committed Sep 21, 2012
1 parent 20b739f commit da20116
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion drivers/sbus/char/display7seg.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
regs |= D7S_FLIP;
writeb(regs, p->regs);
break;
};
}
mutex_unlock(&d7s_mutex);

return error;
Expand Down
8 changes: 4 additions & 4 deletions drivers/sbus/char/envctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static int envctrl_i2c_data_translate(unsigned char data, int translate_type,

default:
break;
};
}

return len;
}
Expand Down Expand Up @@ -644,7 +644,7 @@ envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
default:
break;

};
}

return ret;
}
Expand Down Expand Up @@ -687,7 +687,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

default:
return -EINVAL;
};
}

return 0;
}
Expand Down Expand Up @@ -947,7 +947,7 @@ static void envctrl_init_i2c_child(struct device_node *dp,

default:
break;
};
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions drivers/sbus/char/openprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp
case OPROMSETCUR:
default:
break;
};
}
} else {
/* Sibling of node zero is the root node. */
if (cmd != OPROMNEXT)
Expand Down Expand Up @@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file,
default:
err = -EINVAL;
break;
};
}
mutex_unlock(&openprom_mutex);

return err;
Expand Down

0 comments on commit da20116

Please sign in to comment.