From: Sebastian Andrzej Siewior Date: Wed, 19 Jun 2013 15:38:10 +0000 (+0200) Subject: usb: musb: musbhsdma: drop the controller check in dma_controller_destroy() X-Git-Tag: v3.12-rc1~186^2~77^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2283229da616d9a029eaa0d483fa8b0ad55e77;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed