aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm724x
diff options
context:
space:
mode:
authorShivani Bhardwaj <shivanib134@gmail.com>2015-10-16 20:56:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-16 23:06:38 -0700
commit15aae23e9e5e98a93cf4d942080d17a6ef07d074 (patch)
treeb71c76aaaec27fe4b3c05d105cf03d57d20d344d /drivers/staging/gdm724x
parentstaging: media: lirc: Remove useless initialisation (diff)
downloadlinux-dev-15aae23e9e5e98a93cf4d942080d17a6ef07d074.tar.xz
linux-dev-15aae23e9e5e98a93cf4d942080d17a6ef07d074.zip
Staging: gdx724x: gdm_mux: Remove explicit cast
Compiler can typecast variables implicitly so, explicit type cast 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>
Diffstat (limited to 'drivers/staging/gdm724x')
-rw-r--r--drivers/staging/gdm724x/gdm_mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c
index 97b72a0b4ab7..07de99cf473e 100644
--- a/drivers/staging/gdm724x/gdm_mux.c
+++ b/drivers/staging/gdm724x/gdm_mux.c
@@ -222,7 +222,7 @@ static void do_rx(struct work_struct *work)
struct mux_dev *mux_dev =
container_of(work, struct mux_dev, work_rx.work);
struct mux_rx *r;
- struct rx_cxt *rx = (struct rx_cxt *)&mux_dev->rx;
+ struct rx_cxt *rx = &mux_dev->rx;
unsigned long flags;
int ret = 0;