[PATCH] arm64: enable generic CPU feature modalias matching for this architecture

Ard Biesheuvel ard.biesheuvel at linaro.org
Fri Mar 14 13:49:15 EDT 2014


On 14 March 2014 21:39, Catalin Marinas <catalin.marinas at arm.com> wrote:
> On Tue, Mar 04, 2014 at 01:10:04AM +0000, Ard Biesheuvel wrote:
>> +static inline bool cpu_have_feature(unsigned int num)
>> +{
>> +     return !!(elf_hwcap & (1UL << num));
>> +}
>
> Do we still need !! if the return type is bool? (I can remove it myself,
> no need to resend the patch)
>

I guess that is redundant, indeed.



More information about the linux-arm-kernel mailing list