Skip to content

Commit

Permalink
remove lots of double-semicolons
Browse files Browse the repository at this point in the history
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Acked-by: Theodore Ts'o <[email protected]>
Acked-by: Mark Fasheh <[email protected]>
Acked-by: David S. Miller <[email protected]>
Cc: James Morris <[email protected]>
Acked-by: Casey Schaufler <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fernando Carrijo authored and torvalds committed Jan 8, 2009
1 parent f156596 commit c19a28e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ static int __init longhaul_init(void)
case 10:
printk(KERN_ERR PFX "Use acpi-cpufreq driver for VIA C7\n");
default:
;;
;
}

return -ENODEV;
Expand Down
2 changes: 1 addition & 1 deletion fs/ocfs2/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3868,7 +3868,7 @@ static void ocfs2_split_record(struct inode *inode,
struct ocfs2_extent_list *left_el = NULL, *right_el, *insert_el, *el;
struct ocfs2_extent_rec *rec, *tmprec;

right_el = path_leaf_el(right_path);;
right_el = path_leaf_el(right_path);
if (left_path)
left_el = path_leaf_el(left_path);

Expand Down
2 changes: 1 addition & 1 deletion fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ int ocfs2_change_file_space(struct file *file, unsigned int cmd,
struct ocfs2_space_resv *sr)
{
struct inode *inode = file->f_path.dentry->d_inode;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);;
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);

if ((cmd == OCFS2_IOC_RESVSP || cmd == OCFS2_IOC_RESVSP64) &&
!ocfs2_writes_unwritten_extents(osb))
Expand Down
2 changes: 1 addition & 1 deletion net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,7 @@ int __init ip6_route_init(void)
kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0,
SLAB_HWCACHE_ALIGN, NULL);
if (!ip6_dst_ops_template.kmem_cachep)
goto out;;
goto out;

ret = register_pernet_subsys(&ip6_route_net_ops);
if (ret)
Expand Down
2 changes: 1 addition & 1 deletion net/ipv6/sysctl_net_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static struct ctl_table_header *ip6_header;

int ipv6_sysctl_register(void)
{
int err = -ENOMEM;;
int err = -ENOMEM;

ip6_header = register_net_sysctl_rotable(net_ipv6_ctl_path, ipv6_table);
if (ip6_header == NULL)
Expand Down
2 changes: 1 addition & 1 deletion net/sched/sch_sfq.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ static int sfq_init(struct Qdisc *sch, struct nlattr *opt)
int i;

q->perturb_timer.function = sfq_perturbation;
q->perturb_timer.data = (unsigned long)sch;;
q->perturb_timer.data = (unsigned long)sch;
init_timer_deferrable(&q->perturb_timer);

for (i = 0; i < SFQ_HASH_DIVISOR; i++)
Expand Down
2 changes: 1 addition & 1 deletion security/smack/smackfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static ssize_t smk_write_cipso(struct file *file, const char __user *buf,
if (skp == NULL)
goto out;

rule += SMK_LABELLEN;;
rule += SMK_LABELLEN;
ret = sscanf(rule, "%d", &maplevel);
if (ret != 1 || maplevel > SMACK_CIPSO_MAXLEVEL)
goto out;
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/au1x/dbdma2.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static int au1x_pcm_dbdma_realloc(struct au1xpsc_audio_dmadata *pcd,
au1x_pcm_dmatx_cb, (void *)pcd);

if (!pcd->ddma_chan)
return -ENOMEM;;
return -ENOMEM;

au1xxx_dbdma_set_devwidth(pcd->ddma_chan, msbits);
au1xxx_dbdma_ring_alloc(pcd->ddma_chan, 2);
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/davinci/davinci-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ davinci_pcm_pointer(struct snd_pcm_substream *substream)
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
count = src - runtime->dma_addr;
else
count = dst - runtime->dma_addr;;
count = dst - runtime->dma_addr;

spin_unlock(&prtd->lock);

Expand Down

0 comments on commit c19a28e

Please sign in to comment.