mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -775,9 +775,8 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue