diff options
author | Eric Engestrom | 2018-01-26 05:05:09 -0600 |
---|---|---|
committer | Eric Engestrom | 2018-01-29 09:41:52 -0600 |
commit | 28052ad589babf12938acc89d349c8b356e838aa (patch) | |
tree | afc8ce95cc19962b4d75898d6f5bebc89342d7ef | |
parent | 256cdc02a89a6ad51f9ba7bebc6d1ade20f8bfa8 (diff) | |
download | external-libdrm-28052ad589babf12938acc89d349c8b356e838aa.tar.gz external-libdrm-28052ad589babf12938acc89d349c8b356e838aa.tar.xz external-libdrm-28052ad589babf12938acc89d349c8b356e838aa.zip |
tests/util: drop unused parameters
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r-- | tests/util/pattern.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/util/pattern.c b/tests/util/pattern.c index 095eadf2..2366b006 100644 --- a/tests/util/pattern.c +++ b/tests/util/pattern.c | |||
@@ -823,8 +823,8 @@ static void fill_tiles(const struct util_format_info *info, void *planes[3], | |||
823 | } | 823 | } |
824 | } | 824 | } |
825 | 825 | ||
826 | static void fill_plain(const struct util_format_info *info, void *planes[3], | 826 | static void fill_plain(void *planes[3], |
827 | unsigned int width, unsigned int height, | 827 | unsigned int height, |
828 | unsigned int stride) | 828 | unsigned int stride) |
829 | { | 829 | { |
830 | memset(planes[0], 0x77, stride * height); | 830 | memset(planes[0], 0x77, stride * height); |
@@ -860,7 +860,7 @@ void util_fill_pattern(uint32_t format, enum util_fill_pattern pattern, | |||
860 | return fill_smpte(info, planes, width, height, stride); | 860 | return fill_smpte(info, planes, width, height, stride); |
861 | 861 | ||
862 | case UTIL_PATTERN_PLAIN: | 862 | case UTIL_PATTERN_PLAIN: |
863 | return fill_plain(info, planes, width, height, stride); | 863 | return fill_plain(planes, height, stride); |
864 | 864 | ||
865 | default: | 865 | default: |
866 | printf("Error: unsupported test pattern %u.\n", pattern); | 866 | printf("Error: unsupported test pattern %u.\n", pattern); |