aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 05:03:32 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commit44867b0eefcd8f14923bc8849bcb38f445f9120e (patch)
tree93f2d99e58ed0e3a4f5c1c058c950649b7fd9063 /tests
parent28052ad589babf12938acc89d349c8b356e838aa (diff)
downloadexternal-libgbm-44867b0eefcd8f14923bc8849bcb38f445f9120e.tar.gz
external-libgbm-44867b0eefcd8f14923bc8849bcb38f445f9120e.tar.xz
external-libgbm-44867b0eefcd8f14923bc8849bcb38f445f9120e.zip
tests/etnaviv: drop unused `return 0`
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/etnaviv/write_bmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/etnaviv/write_bmp.c b/tests/etnaviv/write_bmp.c
index 7ae0646c..f7b6bc69 100644
--- a/tests/etnaviv/write_bmp.c
+++ b/tests/etnaviv/write_bmp.c
@@ -63,7 +63,7 @@ struct dib_header {
63 unsigned int unused[12]; 63 unsigned int unused[12];
64} __attribute__((__packed__)); 64} __attribute__((__packed__));
65 65
66static int 66static void
67bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) 67bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha)
68{ 68{
69 struct bmp_header bmp_header = { 69 struct bmp_header bmp_header = {
@@ -98,8 +98,6 @@ bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha)
98 98
99 write(fd, &bmp_header, sizeof(struct bmp_header)); 99 write(fd, &bmp_header, sizeof(struct bmp_header));
100 write(fd, &dib_header, sizeof(struct dib_header)); 100 write(fd, &dib_header, sizeof(struct dib_header));
101
102 return 0;
103} 101}
104 102
105void 103void