mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
85c09bc016
commit
b1f7d84fd2
|
@ -9,7 +9,6 @@
|
||||||
*/
|
*/
|
||||||
#include <glusterfs/api/glfs.h>
|
#include <glusterfs/api/glfs.h>
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "qemu/sockets.h"
|
|
||||||
#include "qemu/uri.h"
|
#include "qemu/uri.h"
|
||||||
|
|
||||||
typedef struct GlusterAIOCB {
|
typedef struct GlusterAIOCB {
|
||||||
|
@ -24,9 +23,6 @@ typedef struct BDRVGlusterState {
|
||||||
struct glfs_fd *fd;
|
struct glfs_fd *fd;
|
||||||
} BDRVGlusterState;
|
} BDRVGlusterState;
|
||||||
|
|
||||||
#define GLUSTER_FD_READ 0
|
|
||||||
#define GLUSTER_FD_WRITE 1
|
|
||||||
|
|
||||||
typedef struct GlusterConf {
|
typedef struct GlusterConf {
|
||||||
char *server;
|
char *server;
|
||||||
int port;
|
int port;
|
||||||
|
|
Loading…
Reference in New Issue