Staging: rdma: mad: Remove explicit cast
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 15 Oct 2015 09:44:41 +0000 (15:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:02:55 +0000 (23:02 -0700)
commit6618c051b52ec108f5b5a2deacd70fbaed4b4542
tree7b23db30ea99dc57cbe5515858d2d80bb223da8b
parent065779434e59efa6252b3ed27df77f2151d47c54
Staging: rdma: mad: Remove explicit cast

Explicit type casting is not required as compiler can type cast
variables implicitly. Therefore, it should be removed.
Semantic patch used:
@@
type T;
T e;
identifier x;
@@

* T x = (T)e;

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/mad.c