]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: remove unnecessary check in xhci_free_stream_info()
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 26 Aug 2013 20:29:48 +0000 (23:29 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 Dec 2013 20:59:47 +0000 (12:59 -0800)
commit0d3703be3a671ca225a796f4ae6e904dd83c2e07
tree648163106adffeca99670cdfb5bc1c8b8a3cf7d5
parent63a67a72d63dd077c2313cf19eb29d8e4bfa6963
xhci: remove unnecessary check in xhci_free_stream_info()

This patch removes the unneccessary check 'if (stream_info)' because
there is already a check few lines above which ensures that stream_info
is not NULL.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-mem.c