Commit da201161 authored by Peter Senna Tschudin's avatar Peter Senna Tschudin Committed by David S. Miller

drivers/sbus/char: removes unnecessary semicolon

removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 20b739fe
...@@ -150,7 +150,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -150,7 +150,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
regs |= D7S_FLIP; regs |= D7S_FLIP;
writeb(regs, p->regs); writeb(regs, p->regs);
break; break;
}; }
mutex_unlock(&d7s_mutex); mutex_unlock(&d7s_mutex);
return error; return error;
......
...@@ -353,7 +353,7 @@ static int envctrl_i2c_data_translate(unsigned char data, int translate_type, ...@@ -353,7 +353,7 @@ static int envctrl_i2c_data_translate(unsigned char data, int translate_type,
default: default:
break; break;
}; }
return len; return len;
} }
...@@ -644,7 +644,7 @@ envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) ...@@ -644,7 +644,7 @@ envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
default: default:
break; break;
}; }
return ret; return ret;
} }
...@@ -687,7 +687,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -687,7 +687,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
return 0; return 0;
} }
...@@ -947,7 +947,7 @@ static void envctrl_init_i2c_child(struct device_node *dp, ...@@ -947,7 +947,7 @@ static void envctrl_init_i2c_child(struct device_node *dp,
default: default:
break; break;
}; }
} }
} }
......
...@@ -222,7 +222,7 @@ static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp ...@@ -222,7 +222,7 @@ static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp
case OPROMSETCUR: case OPROMSETCUR:
default: default:
break; break;
}; }
} else { } else {
/* Sibling of node zero is the root node. */ /* Sibling of node zero is the root node. */
if (cmd != OPROMNEXT) if (cmd != OPROMNEXT)
...@@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file, ...@@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file,
default: default:
err = -EINVAL; err = -EINVAL;
break; break;
}; }
mutex_unlock(&openprom_mutex); mutex_unlock(&openprom_mutex);
return err; return err;
......
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