From: Gollu Appalanaidu Date: Thu, 8 Apr 2021 12:50:58 +0000 (+0530) Subject: zns: trivial formatting fix X-Git-Tag: v1.15~85 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cfebd9558fba14889232d14d5f326dc89003bdce;p=users%2Fsagi%2Fnvme-cli.git zns: trivial formatting fix Signed-off-by: Gollu Appalanaidu --- diff --git a/plugins/zns/zns.c b/plugins/zns/zns.c index 7f6f52e2..bc065823 100644 --- a/plugins/zns/zns.c +++ b/plugins/zns/zns.c @@ -156,8 +156,7 @@ static int zns_mgmt_send(int argc, char **argv, struct command *cmd, struct plug bool select_all; }; - struct config cfg = { - }; + struct config cfg = {}; OPT_ARGS(opts) = { OPT_UINT("namespace-id", 'n', &cfg.namespace_id, namespace_id), @@ -251,8 +250,7 @@ static int zone_mgmt_send(int argc, char **argv, struct command *cmd, struct plu char *file; }; - struct config cfg = { - }; + struct config cfg = {}; OPT_ARGS(opts) = { OPT_UINT("namespace-id", 'n', &cfg.namespace_id, namespace_id), @@ -395,8 +393,7 @@ static int set_zone_desc(int argc, char **argv, struct command *cmd, struct plug char *file; }; - struct config cfg = { - }; + struct config cfg = {}; OPT_ARGS(opts) = { OPT_UINT("namespace-id", 'n', &cfg.namespace_id, namespace_id), @@ -708,8 +705,7 @@ static int zone_append(int argc, char **argv, struct command *cmd, struct plugin int latency; }; - struct config cfg = { - }; + struct config cfg = {}; OPT_ARGS(opts) = { OPT_UINT("namespace-id", 'n', &cfg.namespace_id, namespace_id),