summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_dma.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-06-19 17:38:10 +0200
committerFelipe Balbi <balbi@ti.com>2013-07-29 13:53:17 +0300
commitff2283229da616d9a029eaa0d483fa8b0ad55e77 (patch)
tree8f9351c4f7dae38ddf1298dd8d67f00cc36cbd34 /drivers/usb/musb/musb_dma.h
parent260eba39bcfb5681115ec934cdfbd97e0b3a1775 (diff)
downloadop-kernel-dev-ff2283229da616d9a029eaa0d483fa8b0ad55e77.zip
op-kernel-dev-ff2283229da616d9a029eaa0d483fa8b0ad55e77.tar.gz
usb: musb: musbhsdma: drop the controller check in dma_controller_destroy()
This check is hardly required and alas is wrong. 'c' might be NULL but the chances are low that 'controller' after the container_of() becomes NULL. Since no other DMA implementation is doing that and musb-core does not call it with a NULL pointer it can dropped. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_dma.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud