diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2014-01-29 19:59:56 +0530 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-03-05 15:58:32 +0100 |
commit | b1f7d84fd2197337c0e71701b0c04174be98df77 (patch) | |
tree | a1f116d6b386b77920c9d1b23d3ce326214549b4 /block | |
parent | 85c09bc016076d59561449e786b7cd2138ea9446 (diff) |
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 <bharata@linux.vnet.ibm.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/gluster.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 <glusterfs/api/glfs.h> #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; |