commit | 4abccb61578694372dc9b245afd41f55b5f1e546 | [log] [tgz] |
---|---|---|
author | Ido Shamay <idos@mellanox.com> | Thu Apr 02 16:31:09 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 02 16:25:01 2015 -0400 |
tree | fa0d092985d2cefb25664f61499cadeba8e2a979 | |
parent | fccea6436a5bd16aed6f722efce13ec2c90427d7 [diff] |
net/mlx4: Aesthetic code changes in multi_func_init Previous vf_oper and vf_admin code created very long lines, making it hard to read the code. Added relevant in-struct pointers to reduce code complexity and avoid code lines spread over 80 lines. Same logic is preserved. Signed-off-by: Ido Shamay <idos@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>