[PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG
Subsystems:
adf7242 ieee 802.15.4 radio driver , ieee 802.15.4 subsystem , networking drivers , the rest
STALE3731d
3 messages,
3 authors,
2016-05-19 · open the first message on its own page
If DEBUG is defined, a superfluous closing brace
is introduced.
Signed-off-by: Heinrich Schuchardt <redacted>
---
drivers/net/ieee802154/adf7242.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index b82e39d..9fa7ac9 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c @@ -915,7 +915,6 @@ static void adf7242_debug(u8 irq1)
( stat & 0xf ) == RC_STATUS_PHY_RDY ? "RC_STATUS_PHY_RDY" : "" ,
( stat & 0xf ) == RC_STATUS_RX ? "RC_STATUS_RX" : "" ,
( stat & 0xf ) == RC_STATUS_TX ? "RC_STATUS_TX" : "" );
- }
#endif
}
--
2.1.4
On 05/17/2016 11:58 PM, Heinrich Schuchardt wrote: If DEBUG is defined, a superfluous closing brace
is introduced.
Signed-off-by: Heinrich Schuchardt <redacted>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
quoted hunk ---
drivers/net/ieee802154/adf7242.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index b82e39d..9fa7ac9 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c @@ -915,7 +915,6 @@ static void adf7242_debug(u8 irq1)
( stat & 0xf ) == RC_STATUS_PHY_RDY ? "RC_STATUS_PHY_RDY" : "" ,
( stat & 0xf ) == RC_STATUS_RX ? "RC_STATUS_RX" : "" ,
( stat & 0xf ) == RC_STATUS_TX ? "RC_STATUS_TX" : "" );
- }
#endif
}
--
Greetings,
Michael
From: Heinrich Schuchardt <redacted>
Date: Tue, 17 May 2016 23:58:40 +0200
If DEBUG is defined, a superfluous closing brace
is introduced.
Signed-off-by: Heinrich Schuchardt <redacted>
Applied.