diff options
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | 2017-08-23 14:12:59 +0100 |
---|---|---|
committer | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | 2017-08-29 12:02:18 +0100 |
commit | 19583169e248fb62ea5d512d193223aa34d9535b (patch) | |
tree | c76962016946019b7ee316b22db0afa06c75f356 /drivers/arm/ccn/ccn.c | |
parent | afb33432dfacd6e50588a469e3c84b9c8a8e5fbf (diff) |
plat/arm: Fix ARM_INSTANTIATE_LOCK syntax anomaly
The current definition of ARM_INSTANTIATE_LOCK macro includes a
semicolon, which means it's omitted where it's used. This is anomalous
for a C statement in global scope.
Fix this by removing semicolon from the definition; and where it's a
NOP, declare a file-scoped variable explicitly tagged as unused to avoid
compiler warning.
No functional changes.
Change-Id: I2c1d92ece4777e272a025011e03b8003f3543335
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions