[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 06/26] maint: remove unused include for assert.h
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 06/26] maint: remove unused include for assert.h |
Date: |
Fri, 11 Sep 2015 14:03:30 +0300 |
From: "Daniel P. Berrange" <address@hidden>
A number of files were including assert.h but not using any
of the functions it provides
Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
disas/ia64.c | 1 -
hw/i386/xen/xen_platform.c | 2 --
linux-user/signal.c | 1 -
target-microblaze/op_helper.c | 1 -
target-moxie/helper.c | 1 -
target-moxie/translate.c | 1 -
target-sh4/op_helper.c | 1 -
tests/test-xbzrle.c | 1 -
8 files changed, 9 deletions(-)
diff --git a/disas/ia64.c b/disas/ia64.c
index a8fe26c..d7c7bdf 100644
--- a/disas/ia64.c
+++ b/disas/ia64.c
@@ -18,7 +18,6 @@
along with this file; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>. */
-#include <assert.h>
#include <string.h>
#include "disas/bfd.h"
diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c
index 28b324a..ee45f03 100644
--- a/hw/i386/xen/xen_platform.c
+++ b/hw/i386/xen/xen_platform.c
@@ -23,8 +23,6 @@
* THE SOFTWARE.
*/
-#include <assert.h>
-
#include "hw/hw.h"
#include "hw/i386/pc.h"
#include "hw/ide.h"
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 9d4cef4..502efd9 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -22,7 +22,6 @@
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
-#include <assert.h>
#include <sys/ucontext.h>
#include <sys/resource.h>
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index d2b3624..092c4b5 100644
--- a/target-microblaze/op_helper.c
+++ b/target-microblaze/op_helper.c
@@ -18,7 +18,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <assert.h>
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
diff --git a/target-moxie/helper.c b/target-moxie/helper.c
index f21e884..f91ac28 100644
--- a/target-moxie/helper.c
+++ b/target-moxie/helper.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <assert.h>
#include "config.h"
#include "cpu.h"
diff --git a/target-moxie/translate.c b/target-moxie/translate.c
index e3e9139..cc77366 100644
--- a/target-moxie/translate.c
+++ b/target-moxie/translate.c
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include <assert.h>
#include "cpu.h"
#include "exec/exec-all.h"
diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c
index cbc11ae..a312118 100644
--- a/target-sh4/op_helper.c
+++ b/target-sh4/op_helper.c
@@ -16,7 +16,6 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <assert.h>
#include <stdlib.h>
#include "cpu.h"
#include "exec/helper-proto.h"
diff --git a/tests/test-xbzrle.c b/tests/test-xbzrle.c
index db93b0a..b5ee8bb 100644
--- a/tests/test-xbzrle.c
+++ b/tests/test-xbzrle.c
@@ -16,7 +16,6 @@
#include <strings.h>
#include <string.h>
#include <sys/time.h>
-#include <assert.h>
#include "qemu-common.h"
#include "include/migration/migration.h"
--
2.1.4
- [Qemu-devel] [PULL 00/26] Trivial patches for 2015-09-11, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 09/26] maint: remove unused include for strings.h, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 13/26] docs: fix a qga/qapi-schema.json comment, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 06/26] maint: remove unused include for assert.h,
Michael Tokarev <=
- [Qemu-devel] [PULL 15/26] linux-user: Fix warnings caused by missing 'static' attribute, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 01/26] Update language files for QEMU 2.4.0, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 25/26] hw/arm/spitz: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 17/26] Target-ppc: Remove unnecessary variable, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 10/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 05/26] maint: remove / fix many doubled words, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 26/26] virtio-vga: enable for i386, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 24/26] hw/gpio/zaurus: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 20/26] qapi-schema: remove legacy<> from doc, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 03/26] i6300esb: fix timer overflow, Michael Tokarev, 2015/09/11