virtio-9p: disable unused structure

In file included from ./board.code:140:0,
                 from /home/nikunj/work/power/code/slof/SLOF/slof/paflof.c:106:
/home/nikunj/work/power/code/slof/SLOF/slof/paflof.c: In function ‘engine’:
/home/nikunj/work/power/code/slof/SLOF/lib/libvirtio/virtio-9p.h:23:3: warning: typedef ‘virtio_9p_config_t’ locally defined but not used [-Wunused-local-typedefs]
 } virtio_9p_config_t;

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
This commit is contained in:
Nikunj A Dadhania 2014-01-31 11:38:48 +05:30 committed by Alexey Kardashevskiy
parent 479f0387f9
commit 9cd415f87a
1 changed files with 2 additions and 1 deletions

View File

@ -17,11 +17,12 @@
#include "virtio.h"
#if 0
typedef struct {
uint16_t tag_lenth;
char tag[0];
} virtio_9p_config_t;
#endif
int virtio_9p_init(struct virtio_device *dev, void *tx_buf, void *rx_buf,
int buf_size);
void virtio_9p_shutdown(struct virtio_device *dev);