From b1f7d84fd2197337c0e71701b0c04174be98df77 Mon Sep 17 00:00:00 2001 From: Bharata B Rao Date: Wed, 29 Jan 2014 19:59:56 +0530 Subject: gluster: Remove unused defines and header include Remove the definitions of GLUSTER_FD_WRITE and GLUSTER_FD_READ which are no longer used. Also sockets.h isn't needed any more. Signed-off-by: Bharata B Rao Acked-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- block/gluster.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'block') diff --git a/block/gluster.c b/block/gluster.c index 8b6ae1c74f..a44d612923 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -9,7 +9,6 @@ */ #include #include "block/block_int.h" -#include "qemu/sockets.h" #include "qemu/uri.h" typedef struct GlusterAIOCB { @@ -24,9 +23,6 @@ typedef struct BDRVGlusterState { struct glfs_fd *fd; } BDRVGlusterState; -#define GLUSTER_FD_READ 0 -#define GLUSTER_FD_WRITE 1 - typedef struct GlusterConf { char *server; int port; -- cgit v1.2.1