aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJon Mason <jon.mason@broadcom.com>2017-02-28 13:51:00 -0500
committerDavid S. Miller <davem@davemloft.net>2017-03-06 17:17:47 -0800
commitcb1b0f90acfedd2164e524b327d9e60b097646cc (patch)
tree1c8cd0bc65444c329cc98533e3d9cabf8fb02bba /include
parentnet: ethernet: bgmac: use #defines for MAX size (diff)
downloadlinux-dev-cb1b0f90acfedd2164e524b327d9e60b097646cc.tar.xz
linux-dev-cb1b0f90acfedd2164e524b327d9e60b097646cc.zip
net: ethernet: bgmac: unify code of the same family
BCM471X and BCM535X are of the same family (from what I can derive from internal documents). Group them into the case statement together, which results in more code reuse. Also, use existing helper variables to make the code a little more readable too. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions