diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-14 12:30:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-15 19:27:00 -0400 |
commit | 4ecf1dc7ad031ede37a0eac259b57eebfe375bfa (patch) | |
tree | 5531b02029cede3118c365f55e47f1bb92afc88a | |
parent | be45dff2900af5a68c07a37144f340fcec2293d8 (diff) |
af_key: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/key/af_key.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index ba2a2f95911c..1847ec4e3930 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -405,7 +405,6 @@ static int verify_address_len(const void *p) | |||
405 | * XXX When it can, remove this -EINVAL. -DaveM | 405 | * XXX When it can, remove this -EINVAL. -DaveM |
406 | */ | 406 | */ |
407 | return -EINVAL; | 407 | return -EINVAL; |
408 | break; | ||
409 | } | 408 | } |
410 | 409 | ||
411 | return 0; | 410 | return 0; |
@@ -536,7 +535,6 @@ pfkey_satype2proto(uint8_t satype) | |||
536 | return IPPROTO_ESP; | 535 | return IPPROTO_ESP; |
537 | case SADB_X_SATYPE_IPCOMP: | 536 | case SADB_X_SATYPE_IPCOMP: |
538 | return IPPROTO_COMP; | 537 | return IPPROTO_COMP; |
539 | break; | ||
540 | default: | 538 | default: |
541 | return 0; | 539 | return 0; |
542 | } | 540 | } |
@@ -553,7 +551,6 @@ pfkey_proto2satype(uint16_t proto) | |||
553 | return SADB_SATYPE_ESP; | 551 | return SADB_SATYPE_ESP; |
554 | case IPPROTO_COMP: | 552 | case IPPROTO_COMP: |
555 | return SADB_X_SATYPE_IPCOMP; | 553 | return SADB_X_SATYPE_IPCOMP; |
556 | break; | ||
557 | default: | 554 | default: |
558 | return 0; | 555 | return 0; |
559 | } | 556 | } |