Skip to contentSkip to conversation

crypto: hide unused label

PATCH Superseded Arnd Bergmann 1 participant 1 message Aug 29, 2016 Crypto API

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: hide unused label

crypto/xor.c: In function 'calibrate_xor_blocks':
crypto/xor.c:156:1: error: label 'out' defined but not used [-Werror=unused-label]

Fixes 39457acda913 ("crypto: xor - skip speed test if the xor function is selected automatically")
---
 crypto/xor.c | 2 ++
 1 file changed, 2 insertions(+)
crypto/xor.c +2 -0
index b8975d92cd94..1817015381ef 100644
@@ -153,7 +153,9 @@ calibrate_xor_blocks(void)
 #undef xor_speed
 
 	free_pages((unsigned long)b1, 2);
+#ifdef XOR_SELECT_TEMPLATE
 out:
+#endif
 	active_template = fastest;
 	return 0;
 }
Signature · 1 line
2.9.0