mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
3bf3cdee63
commit
15aae23e9e
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ static void do_rx(struct work_struct *work)
|
||||||
struct mux_dev *mux_dev =
|
struct mux_dev *mux_dev =
|
||||||
container_of(work, struct mux_dev, work_rx.work);
|
container_of(work, struct mux_dev, work_rx.work);
|
||||||
struct mux_rx *r;
|
struct mux_rx *r;
|
||||||
struct rx_cxt *rx = (struct rx_cxt *)&mux_dev->rx;
|
struct rx_cxt *rx = &mux_dev->rx;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue