aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/g_dnl.c
diff options
context:
space:
mode:
authorLukasz Majewski2013-09-17 15:58:22 +0200
committerMarek Vasut2013-09-24 17:51:36 +0200
commit69d6cbe748ae13e6b728d2c28616a8c54b07f9c2 (patch)
treea9f6570d4a0fbe92e45906f9242aa1f4f47528c1 /drivers/usb/gadget/g_dnl.c
parentba4e95c9f0e18ddeff55ef1b94be650d7b653d3f (diff)
usb:gadget:Remove redundant #includes for USB composite gadget and its functions
Only the <linux/usb/gadget.h> requires error.h include. Hence, several includes of error.h at USB gadget functions are not needed. Moreover unnecessary malloc.h includes were also removed. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/g_dnl.c')
-rw-r--r--drivers/usb/gadget/g_dnl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c
index 19011bf9fc2..29d08a3a227 100644
--- a/drivers/usb/gadget/g_dnl.c
+++ b/drivers/usb/gadget/g_dnl.c
@@ -7,7 +7,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#include <errno.h>
#include <common.h>
#include <malloc.h>