OSDN Git Service

Staging: rtl8712: rtl8712_xmit: Remove useless cast
authorShivani Bhardwaj <shivanib134@gmail.com>
Wed, 14 Oct 2015 13:40:21 +0000 (19:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:12:30 +0000 (22:12 -0700)
commit993c307eb48accf5fc34f703e6c290ddfc251b6e
treead745c1b85d8feb89d517253f321f8925600ed07
parent7074ed3df1e23acf68dc398207b6b4bc6a26cac7
Staging: rtl8712: rtl8712_xmit: Remove useless cast

Explicit typecasting of variables is not required and 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/rtl8712/rtl8712_xmit.c