]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
zns: trivial formatting fix
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Thu, 8 Apr 2021 12:50:58 +0000 (18:20 +0530)
committerKeith Busch <kbusch@kernel.org>
Mon, 10 May 2021 18:11:35 +0000 (12:11 -0600)
Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
plugins/zns/zns.c

index 7f6f52e23bd97a7979659474bb290a7c058de1db..bc065823ee91a61a13ac6cf7de038fe5f9ebfa35 100644 (file)
@@ -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),