diff --git a/android/arch.go b/android/arch.go index b09a3022f..4fe434502 100644 --- a/android/arch.go +++ b/android/arch.go @@ -1060,9 +1060,7 @@ func mergePropertyStruct(ctx ArchVariantContext, dst interface{}, srcValue refle // order checks the `android:"variant_prepend"` tag to handle properties where the // arch-specific value needs to come before the generic value, for example for lists of // include directories. - order := func(property string, - dstField, srcField reflect.StructField, - dstValue, srcValue interface{}) (proptools.Order, error) { + order := func(dstField, srcField reflect.StructField) (proptools.Order, error) { if proptools.HasTag(dstField, "android", "variant_prepend") { return proptools.Prepend, nil } else {