linux-4.8-rc1/drivers/dma/txx9dmac.c: 2 * pointless expression ?

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

 



Hello there,

1,

linux-4.8-rc1/drivers/dma/txx9dmac.c:751]: (style) Expression '(X &
0x7f) <= 0x7f' is always true.

Source code is

           if (xfer_count > 0x80 &&
                (xfer_count & 0x7f) >= 0x7e &&
                (xfer_count & 0x7f) <= 0x7f)

2.

inux-4.8-rc1/drivers/dma/txx9dmac.c:746]: (style) Expression '(X &
0xff) <= 0xff' is always true.

Duplicate, a few lines earlier.

Regards

David Binderman
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux