summaryrefslogtreecommitdiffstats
path: root/include/chardev
diff options
context:
space:
mode:
authorMarc-André Lureau2017-07-20 12:00:46 +0200
committerPaolo Bonzini2017-08-01 17:27:33 +0200
commit4db0db1fa6b653970148f6ff7a24bede1d52ef9d (patch)
tree42363d229f309dd91d62a8d5410bb843317f1668 /include/chardev
parentaccel: cleanup error output (diff)
downloadqemu-4db0db1fa6b653970148f6ff7a24bede1d52ef9d.tar.gz
qemu-4db0db1fa6b653970148f6ff7a24bede1d52ef9d.tar.xz
qemu-4db0db1fa6b653970148f6ff7a24bede1d52ef9d.zip
char-fd: remove useless chr pointer
Apparently unused since it was introduced in commit a29753f8aa79a34a324afebe340182a51a5aef11. Now, it can be trivially accessed by CHARDEV() of self. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20170720100046.4424-1-marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/chardev')
-rw-r--r--include/chardev/char-fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chardev/char-fd.h b/include/chardev/char-fd.h
index 55ae5b47b0..e7c2b176f9 100644
--- a/include/chardev/char-fd.h
+++ b/include/chardev/char-fd.h
@@ -29,7 +29,7 @@
typedef struct FDChardev {
Chardev parent;
- Chardev *chr;
+
QIOChannel *ioc_in, *ioc_out;
int max_size;
} FDChardev;