CC3XX: Fix minor style issue in cc312-rom hash module

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: Ic829f3c5d4d6a41df879f1c518feadf9d600096b
diff --git a/platform/ext/accelerator/cc312/cc312-rom/cc3xx_hmac.c b/platform/ext/accelerator/cc312/cc312-rom/cc3xx_hmac.c
index 07841eb..557a1c6 100644
--- a/platform/ext/accelerator/cc312/cc312-rom/cc3xx_hmac.c
+++ b/platform/ext/accelerator/cc312/cc312-rom/cc3xx_hmac.c
@@ -28,8 +28,10 @@
     const uint8_t *p_key = key;
     size_t key_length = key_size;
 
-    if ((err = cc3xx_hash_init(alg)) != CC3XX_ERR_SUCCESS)
-        goto out;
+    err = cc3xx_hash_init(alg);
+    if (err != CC3XX_ERR_SUCCESS) {
+        return err;
+    }
 
     if (key_size > CC3XX_HMAC_BLOCK_SIZE) {
         /* hash the key to L bytes */