mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
af_key: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
be45dff290
commit
4ecf1dc7ad
@ -405,7 +405,6 @@ static int verify_address_len(const void *p)
|
|||||||
* XXX When it can, remove this -EINVAL. -DaveM
|
* XXX When it can, remove this -EINVAL. -DaveM
|
||||||
*/
|
*/
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -536,7 +535,6 @@ pfkey_satype2proto(uint8_t satype)
|
|||||||
return IPPROTO_ESP;
|
return IPPROTO_ESP;
|
||||||
case SADB_X_SATYPE_IPCOMP:
|
case SADB_X_SATYPE_IPCOMP:
|
||||||
return IPPROTO_COMP;
|
return IPPROTO_COMP;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -553,7 +551,6 @@ pfkey_proto2satype(uint16_t proto)
|
|||||||
return SADB_SATYPE_ESP;
|
return SADB_SATYPE_ESP;
|
||||||
case IPPROTO_COMP:
|
case IPPROTO_COMP:
|
||||||
return SADB_X_SATYPE_IPCOMP;
|
return SADB_X_SATYPE_IPCOMP;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user