netutils/mqtt: fix violations of coding style
This patch fixes violations of coding style.
@@ -280,12 +280,10 @@ mqtt_client_t *mqtt_init_client(mqtt_client_config_t *config)
/* set protocol version */
ret = mosquitto_opts_set((struct mosquitto *)mqtt_client->mosq, MOSQ_OPT_PROTOCOL_VERSION, &(config->protocol_version));
- if ( ret != MOSQ_ERR_SUCCESS )
- {
+ if (ret != MOSQ_ERR_SUCCESS) {
ndbg("ERROR: fail to set mqtt protocol version.\n");
goto done;
}
-
#if defined(CONFIG_NETUTILS_MQTT_SECURITY)
if (config->tls) {
struct mosquitto *tmp = (struct mosquitto *)mqtt_client->mosq;
