diff options
| author | Sergei Shtylyov <[email protected]> | 2017-08-04 21:43:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-07 21:07:32 +0000 |
| commit | d226a2b84d0528da7e35e7e19e052293889cdd21 (patch) | |
| tree | 374898a27400270e2174eafaec9b98ac5238b9f8 /net/sched/cls_basic.c | |
| parent | ibmvnic: Report rx buffer return codes as netdev_dbg (diff) | |
| download | kernel-d226a2b84d0528da7e35e7e19e052293889cdd21.tar.gz kernel-d226a2b84d0528da7e35e7e19e052293889cdd21.zip | |
of_mdio: use of_property_read_u32_array()
The "fixed-link" prop support predated of_property_read_u32_array(), so
basically had to open-code it. Using the modern API saves 24 bytes of the
object code (ARM gcc 4.8.5); the only behavior change would be that the
prop length check is now less strict (however the strict pre-check done
in of_phy_is_fixed_link() is left intact anyway)...
Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
