From 7aefe61b9a4aeb1a9b16146899d8763ab8d2f0df Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 8 Apr 2022 08:07:10 -0700 Subject: [PATCH] mm2gv: remove unused 'mm_write_mtx_array_size' --- cmd/tools/mmio.c | 10 ---------- cmd/tools/mmio.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/cmd/tools/mmio.c b/cmd/tools/mmio.c index 6cd5e7b89..8cdc5506f 100644 --- a/cmd/tools/mmio.c +++ b/cmd/tools/mmio.c @@ -169,16 +169,6 @@ int mm_read_mtx_array_size(FILE * f, int *M, int *N) return 0; } -int mm_write_mtx_array_size(FILE * f, int M, int N) -{ - if (fprintf(f, "%d %d\n", M, N) != 2) - return MM_COULD_NOT_WRITE_FILE; - else - return 0; -} - - - /*-------------------------------------------------------------------------*/ int mm_write_banner(FILE * f, MM_typecode matcode) diff --git a/cmd/tools/mmio.h b/cmd/tools/mmio.h index 4b38ad6a0..454a441a3 100644 --- a/cmd/tools/mmio.h +++ b/cmd/tools/mmio.h @@ -31,8 +31,6 @@ int mm_read_mtx_array_size(FILE * f, int *M, int *N); int mm_write_banner(FILE * f, MM_typecode matcode); int mm_write_mtx_crd_size(FILE * f, int M, int N, int nz); -int mm_write_mtx_array_size(FILE * f, int M, int N); - /********************* MM_typecode query fucntions ***************************/ -- 2.40.0