blkzone: remove unnecessary initializations

C compiler is smart enough to follow C standards

 C11: 6.7.8 Initialization

 All subobjects that are not initialized explicitly shall be
 initialized implicitly the same as objects that have static storage
 duration.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-06-05 09:18:08 +02:00
parent 6e103c7690
commit 43d2ce3b44
1 changed files with 1 additions and 4 deletions

View File

@ -379,10 +379,7 @@ int main(int argc, char **argv)
{
int c;
struct blkzone_control ctl = {
.devname = NULL,
.offset = 0,
.count = 0,
.length = 0
.devname = NULL
};
static const struct option longopts[] = {