can: gw: cgw_parse_attr(): remove unnecessary braces for single statement block
This patch removes some unnecessary braces for a single statement block. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
78f8a326f9
commit
21468e6de8
|
@ -775,10 +775,9 @@ static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod,
|
|||
mod->csumfunc.xor = cgw_csum_xor_neg;
|
||||
}
|
||||
|
||||
if (tb[CGW_MOD_UID]) {
|
||||
if (tb[CGW_MOD_UID])
|
||||
nla_memcpy(&mod->uid, tb[CGW_MOD_UID], sizeof(u32));
|
||||
}
|
||||
}
|
||||
|
||||
if (gwtype == CGW_TYPE_CAN_CAN) {
|
||||
/* check CGW_TYPE_CAN_CAN specific attributes */
|
||||
|
|
Loading…
Reference in New Issue