Staging: skein: skein_api: Remove useless type conversion
commit1af172fa4156ec0ab39e47ebc0883f41802d478c
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 8 Oct 2016 10:28:04 +0000 (8 15:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:07 +0000 (16 10:25 +0200)
tree814b04ebe2ffc14e6b8016ce413dcd2d93156120
parent321c799cd95cafc67fbf955f8a61b49e42b2f9b4
Staging: skein: skein_api: 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/skein/skein_api.c