commit | f4a09487239fd63db094ce74d6a5fb4ffbb28fbc | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Thu Jun 04 16:05:32 2020 -0400 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Tue Jun 16 17:00:02 2020 +0530 |
tree | b7bce74a0f236d50169c9b5243dbe3326b54daba | |
parent | bf3e2464cd71a7345a652c9cae62f3ac8dbfb216 [diff] |
net: cpsw: Add __maybe_unused to generated inlines We generate a number of helper inline functions to make accesses easier. However not all permutations of each function will be used and clang will warn about unused ones. Decorate all of them with __maybe_unused because of this. Cc: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>