Merge "Remove used error check in getDevicesForAttributesImpl"