Skip to content
Commit eab48865 authored by Tom Rini's avatar Tom Rini Committed by Lokesh Vutla
Browse files

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: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
parent 2af17e25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment