summaryrefslogtreecommitdiff
path: root/src/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/create.c')
-rw-r--r--src/create.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/create.c b/src/create.c
index 8ee63e1e..c88c248d 100644
--- a/src/create.c
+++ b/src/create.c
@@ -881,12 +881,6 @@ start_header (struct tar_stat_info *st)
if (!MINOR_TO_CHARS (devminor, header->header.devminor))
return NULL;
}
- else if (archive_format != GNU_FORMAT && archive_format != OLDGNU_FORMAT)
- {
- if (!(MAJOR_TO_CHARS (0, header->header.devmajor)
- && MINOR_TO_CHARS (0, header->header.devminor)))
- return NULL;
- }
if (archive_format == POSIX_FORMAT)
{