diff options
| author | Vladimir Oltean <[email protected]> | 2019-07-19 00:29:57 +0300 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2019-07-25 13:13:31 -0500 |
| commit | f6297c06928879127c9de481a4c79824a83c2bd1 (patch) | |
| tree | 57cd4ad404c0ec269ca6eff0719eda7794c0bfcf /include/linux/kernel.h | |
| parent | b7be776776b0739d78ed42a52b1bc8b5b0bc6e13 (diff) | |
net: tsec: Common handling of MAC station address for DM_ETH
In tsec_init, the MAC address is retrieved from 2 different structures
depending on whether DM_ETH is enabled or not.
But since the field name is the same inside both structures, we can
conditionally define the structure of the correct type and simplify the
assignments.
Signed-off-by: Vladimir Oltean <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
