diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-08-26 12:17:14 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-09-11 10:21:38 +0300 |
commit | 8abae4d31d92be2085fd66566585cba7699ad332 (patch) | |
tree | a214cf8248df269aef91d5c04e56a4a492276e5f | |
parent | b6af097528caba5b23b79db3f1f1fd08fa4fa11e (diff) |
maint: remove unused include for assert.h
A number of files were including assert.h but not using any
of the functions it provides
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | disas/ia64.c | 1 | ||||
-rw-r--r-- | hw/i386/xen/xen_platform.c | 2 | ||||
-rw-r--r-- | linux-user/signal.c | 1 | ||||
-rw-r--r-- | target-microblaze/op_helper.c | 1 | ||||
-rw-r--r-- | target-moxie/helper.c | 1 | ||||
-rw-r--r-- | target-moxie/translate.c | 1 | ||||
-rw-r--r-- | target-sh4/op_helper.c | 1 | ||||
-rw-r--r-- | tests/test-xbzrle.c | 1 |
8 files changed, 0 insertions, 9 deletions
diff --git a/disas/ia64.c b/disas/ia64.c index a8fe26c413..d7c7bdfc51 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 28b324a6f4..ee45f038b8 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 9d4cef409e..502efd9fc4 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 d2b3624512..092c4b594d 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 f21e88406b..f91ac28d34 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 e3e9139061..cc77366ee7 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 cbc11aeccd..a3121180dc 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 db93b0a3d2..b5ee8bb09e 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" |