gpio: mark more INVARIANTS variables as __diagused
Mark another set of variables that are only used in INVARIANTS builds,
which otherwise result in set-but-not-used warnings.
Fixes: 7dc4d5118c
MFC after: 3 days
This commit is contained in:
parent
8534e6be81
commit
6e62d9a5a5
@ -320,7 +320,8 @@ gpioc_detach_priv_pin(struct gpioc_cdevpriv *priv,
|
||||
{
|
||||
struct gpioc_privs *priv_link, *priv_link_temp;
|
||||
struct gpioc_pins *pin_link, *pin_link_temp;
|
||||
unsigned int consistency_a, consistency_b;
|
||||
unsigned int consistency_a __diagused;
|
||||
unsigned int consistency_b __diagused;
|
||||
|
||||
consistency_a = 0;
|
||||
consistency_b = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user