From cb141140579d796ae5cafe6da52b4f0b87be6a84 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Mon, 23 May 2016 21:51:44 +0100 Subject: Simplifying logic. Removing buffer features --- cmd/cmd_info.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cmd/cmd_info.c') diff --git a/cmd/cmd_info.c b/cmd/cmd_info.c index b06f8bc..8744efe 100644 --- a/cmd/cmd_info.c +++ b/cmd/cmd_info.c @@ -30,16 +30,5 @@ int c_info( cmd_arg_t *arg ) printf("BLOCK : %u\n", g_file->blk_size ); } - if ( g_buf == NULL ) - { - printf("buffer not initialised\n"); - } else - { - printf("BUF:\n"); - printf("ADDR : %p\n", g_buf->buf); - printf("SIZE : %d\n", g_buf->size); - printf("BUFSIZE: %d\n", g_buf->buf_size); - } - return 0; } \ No newline at end of file -- cgit v1.2.3