diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-09-08 15:34:31 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-09-14 05:58:13 +0300 |
commit | 58001effe172f300d558dffbd723c8521b9404f2 (patch) | |
tree | a42ff0415f32612d2258642fd3ade9e3cb812c62 /drivers/usb/chipidea | |
parent | 382c1b38d8e70b2fe239c96bb9137c10f3229ba3 (diff) | |
download | linux-58001effe172f300d558dffbd723c8521b9404f2.tar.xz |
usb: chipidea: udc: Fit into a single line
No need to split the dma_pool_zalloc() line into two as it can
perfectly fit into a single line.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index a0b208dfb959..22534a1622d9 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -350,8 +350,7 @@ static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, if (node == NULL) return -ENOMEM; - node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, - &node->dma); + node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); if (node->ptr == NULL) { kfree(node); return -ENOMEM; |