Skip to content

Commit

Permalink
irda: remove unnecessary break after return
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Fabian Frederick authored and David S. Miller committed Jul 15, 2014
1 parent 1f7a316 commit f301f22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion net/irda/af_irda.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,6 @@ static int irda_discover_daddr_and_lsap_sel(struct irda_sock *self, char *name)
self->daddr = DEV_ADDR_ANY;
kfree(discoveries);
return -EHOSTUNREACH;
break;
}
}
/* Cleanup our copy of the discovery log */
Expand Down
1 change: 0 additions & 1 deletion net/irda/irlan/irlan_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,6 @@ static int __irlan_insert_param(struct sk_buff *skb, char *param, int type,
default:
IRDA_DEBUG(2, "%s(), Unknown parameter type!\n", __func__ );
return 0;
break;
}

/* Insert at end of sk-buffer */
Expand Down

0 comments on commit f301f22

Please sign in to comment.