[PATCH 0/4] dmaengine: Remove unneeded ERROR checks before clk_xxx

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

 



This patch set tries to remove unneeded ERROR check before clk_xxx.
clk_put() already uses !clk and IS_ERR(clk) to check ERROR or NULL.
clk_disable_unprepare() already checks ERROR by using IS_ERR_OR_NULL.

Remove unneeded ERROR or NULL check before them.

Wan Jiabing (4):
  dmaengine: ep93xx_dma: Remove unneeded ERROR check before clk_put
  dmaengine: sprd-dma: Remove unneeded ERROR check before clk_disable_unprepare
  dmaengine: ste_dma40: Remove unneeded ERROR and NULL check in ste_dma40
  dmaengine: xgene-dma: Remove unneeded ERROR check before clk_disable_unprepare

 drivers/dma/ep93xx_dma.c |  3 +--
 drivers/dma/sprd-dma.c   |  7 +------
 drivers/dma/ste_dma40.c  | 10 ++++------
 drivers/dma/xgene-dma.c  |  6 ++----
 4 files changed, 8 insertions(+), 18 deletions(-)

-- 
2.36.1




[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