mirror of https://gitee.com/openkylin/linux.git
prism54: 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
14aa5638f6
commit
21dceb6fbb
|
@ -793,7 +793,6 @@ mgt_response_to_str(enum oid_num_t n, union oid_res_t *r, char *str)
|
|||
switch (isl_oid[n].flags & OID_FLAG_TYPE) {
|
||||
case OID_TYPE_U32:
|
||||
return snprintf(str, PRIV_STR_SIZE, "%u\n", r->u);
|
||||
break;
|
||||
case OID_TYPE_BUFFER:{
|
||||
struct obj_buffer *buff = r->ptr;
|
||||
return snprintf(str, PRIV_STR_SIZE,
|
||||
|
|
Loading…
Reference in New Issue