From 9cd415f87a55fe49fbd1750eb29dca788aa281ac Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania Date: Fri, 31 Jan 2014 11:38:48 +0530 Subject: [PATCH] virtio-9p: disable unused structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/libvirtio/virtio-9p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libvirtio/virtio-9p.h b/lib/libvirtio/virtio-9p.h index 7513d98..4bf47d0 100644 --- a/lib/libvirtio/virtio-9p.h +++ b/lib/libvirtio/virtio-9p.h @@ -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);