Staging: emxx_udc: Remove useless type conversion
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 8 Oct 2016 09:59:54 +0000 (15:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:07 +0000 (10:25 +0200)
commit15fb2af604d602373cd4dafb88143adb03463001
tree84d5ef3d99f8fed78fc2878f7083f4719f76283b
parent1af172fa4156ec0ab39e47ebc0883f41802d478c
Staging: emxx_udc: Remove useless type conversion

Some type conversions like casting a pointer to a pointer of same type,
casting to the original type using addressof(&) operator etc. are not
needed. Therefore, remove them. Done using coccinelle:

@@
type t;
t *p;
t a;
@@
(
- (t)(a)
+ a
|
- (t *)(p)
+ p
|
- (t *)(&a)
+ &a
)

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c