mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 01:06:46 +09:00
mlxsw: reg: Avoid unnecessary line wrap for mlxsw_reg_sfd_uc_unpack
Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8316f087f7
commit
75c09280fe
@@ -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);
|
||||
}
|
||||
|
||||
static inline void
|
||||
mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index,
|
||||
char *mac, u16 *p_vid,
|
||||
u8 *p_local_port)
|
||||
static inline void mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index,
|
||||
char *mac, u16 *p_vid,
|
||||
u8 *p_local_port)
|
||||
{
|
||||
mlxsw_reg_sfd_rec_mac_memcpy_from(payload, rec_index, mac);
|
||||
*p_vid = mlxsw_reg_sfd_uc_fid_vid_get(payload, rec_index);
|
||||
|
||||
Reference in New Issue
Block a user