]> git.baikalelectronics.ru Git - kernel.git/commit
staging: emxx_udc: Remove unneeded cast
authorChristopher Diaz Riveros <chrisadr@gentoo.org>
Tue, 20 Feb 2018 16:35:53 +0000 (11:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 14:01:18 +0000 (15:01 +0100)
commit54ccda3d91ad6af7d9b5b2320854aac992969096
treee834ab898fddca34b08287538394a3efae779000
parent3c857b8695b4f20afaaa15ad07079e71f1e6dc02
staging: emxx_udc: Remove unneeded cast

Fix Coccinelle alert:

drivers/staging//emxx_udc/emxx_udc.c:2689:19-21: WARNING: casting value returned by memory allocation function to (u8 *) is useless.

This issue was detected by using the Coccinelle software.

Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c