Re: linux-4.6-rc2/drivers/mmc/host/sdhci.c:3033: pointless test ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/16 19:38, David Binderman wrote:
> linux-4.6-rc2/drivers/mmc/host/sdhci.c:3033]: (style) Redundant
> condition: mmc.f_max. '!mmc.f_max || (mmc.f_max && mmc.f_max>max_clk)' is
> equivalent to '!mmc.f_max || mmc.f_max>max_clk'
> 
> Source code is
> 
> if (!mmc->f_max || (mmc->f_max && (mmc->f_max> max_clk)))

I made a patch which I will include later with other fixes I am doing.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux