Commit 75c09280 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

mlxsw: reg: Avoid unnecessary line wrap for mlxsw_reg_sfd_uc_unpack

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8316f087
...@@ -397,10 +397,9 @@ static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, ...@@ -397,10 +397,9 @@ static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index,
mlxsw_reg_sfd_uc_system_port_set(payload, rec_index, local_port); mlxsw_reg_sfd_uc_system_port_set(payload, rec_index, local_port);
} }
static inline void static inline void mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index,
mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index, char *mac, u16 *p_vid,
char *mac, u16 *p_vid, u8 *p_local_port)
u8 *p_local_port)
{ {
mlxsw_reg_sfd_rec_mac_memcpy_from(payload, rec_index, mac); mlxsw_reg_sfd_rec_mac_memcpy_from(payload, rec_index, mac);
*p_vid = mlxsw_reg_sfd_uc_fid_vid_get(payload, rec_index); *p_vid = mlxsw_reg_sfd_uc_fid_vid_get(payload, rec_index);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment