]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33368019826cd0a4ccb4099d6886a0f48215100b
tree7b23db30ea99dc57cbe5515858d2d80bb223da8b
parent5d40d633a1254a7d3169a4f4b1794635d7cc36be
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